Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006219/0.006219, allocations: 101.4 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 188.5 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.842/2.842, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 66.2 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3168, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003603/0.3205, allocations: 2.203 MB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004837/0.3254, allocations: 3.766 MB / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.3256, allocations: 0 / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.326, allocations: 51.69 kB / 1.059 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004804/0.3265, allocations: 115.2 kB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.3269, allocations: 127.8 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.3274, allocations: 294.8 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.3275, allocations: 56.7 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.3278, allocations: 127.5 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.3281, allocations: 135.4 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.3281, allocations: 12 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.3284, allocations: 127.8 kB / 1.06 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.24e-05/0.3285, allocations: 47.77 kB / 1.06 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.3287, allocations: 115.2 kB / 1.06 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.329, allocations: 231.5 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.329, allocations: 0 / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.82e-07/0.329, allocations: 0 / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.329, allocations: 4 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001388/0.3304, allocations: 0.6269 MB / 1.061 GB, free: 184 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3305, allocations: 11.97 kB / 1.061 GB, free: 172 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009837/0.3315, allocations: 184.5 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007594/0.3323, allocations: 324.1 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3323, allocations: 12.56 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.3323, allocations: 11.94 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.333, allocations: 230.3 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3331, allocations: 0 / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.3331, allocations: 4 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3331, allocations: 0 / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009922/0.3341, allocations: 283.7 kB / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.3355, allocations: 0.5746 MB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.336, allocations: 170.4 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/0.3365, allocations: 148.7 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000879/0.3374, allocations: 0.5532 MB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3375, allocations: 34.56 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 3.376e-06/0.3375, allocations: 0 / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.001634/0.3391, allocations: 489.2 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.3392, allocations: 51.41 kB / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.3395, allocations: 268.5 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.3395, allocations: 29.7 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3396, allocations: 151.9 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.3397, allocations: 43.39 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.3398, allocations: 41.69 kB / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.34, allocations: 334.8 kB / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.3405, allocations: 151.8 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.341, allocations: 145.9 kB / 1.065 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009485/0.3419, allocations: 292.6 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3419, allocations: 0 / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001101/0.343, allocations: 374.8 kB / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.3431, allocations: 4 kB / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.3431, allocations: 3.938 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3431, allocations: 7.984 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.3436, allocations: 67.86 kB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.3436, allocations: 0 / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.3439, allocations: 51.78 kB / 1.065 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.344, allocations: 4 kB / 1.065 GB, free: 10.93 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.3441, allocations: 133.8 kB / 1.066 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.3442, allocations: 23.72 kB / 1.066 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.3454, allocations: 379.3 kB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.3454, allocations: 0 / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3454, allocations: 4 kB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.3454, allocations: 7.922 kB / 1.066 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.3458, allocations: 305.3 kB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3458, allocations: 3.938 kB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.3462, allocations: 59.92 kB / 1.066 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3462, allocations: 0 / 1.066 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.3462, allocations: 7.984 kB / 1.066 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3462, allocations: 0 / 1.066 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3463, allocations: 4 kB / 1.066 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.3474, allocations: 449.6 kB / 1.067 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.3475, allocations: 124.7 kB / 1.067 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.3475, allocations: 4 kB / 1.067 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.3479, allocations: 35.95 kB / 1.067 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.831e-05/0.348, allocations: 19.97 kB / 1.067 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.348, allocations: 7.922 kB / 1.067 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001645/0.3482, allocations: 187.1 kB / 1.067 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3482, allocations: 0 / 1.067 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003685/0.3486, allocations: 71.94 kB / 1.067 GB, free: 9.035 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002587/0.3488, allocations: 135.1 kB / 1.067 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.35, allocations: 323.7 kB / 1.068 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.35, allocations: 0 / 1.068 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005179/0.3505, allocations: 163.8 kB / 1.068 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.351, allocations: 45.77 kB / 1.068 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.3522, allocations: 0.5793 MB / 1.068 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.3525, allocations: 0.7438 MB / 1.069 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.3526, allocations: 27.41 kB / 1.069 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of SimCode: time 1.012e-06/0.3526, allocations: 0 / 1.069 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of Templates: time 0.006806/0.3594, allocations: 3.72 MB / 1.073 GB, free: 3.27 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches