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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001458/0.001458, allocations: 108.5 kB / 16.41 MB, free: 6.492 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.001529/0.001529, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.599/2.599, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8273/0.8287, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003569/0.8323, allocations: 2.138 MB / 1.211 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005009/0.8373, allocations: 3.789 MB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.8376, allocations: 4 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.838, allocations: 67.22 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004974/0.8385, allocations: 123.2 kB / 1.214 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.839, allocations: 147.6 kB / 1.215 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.8395, allocations: 310.9 kB / 1.215 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.8396, allocations: 64.62 kB / 1.215 GB, free: 7 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.84, allocations: 131.5 kB / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.8402, allocations: 159.3 kB / 1.215 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.8403, allocations: 20 kB / 1.215 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.8406, allocations: 131.8 kB / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.8407, allocations: 51.83 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.8408, allocations: 131.2 kB / 1.215 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004529/0.8413, allocations: 332.7 kB / 1.216 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.8413, allocations: 4 kB / 1.216 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8413, allocations: 0 / 1.216 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.8413, allocations: 0 / 1.216 GB, free: 6.059 MB / 0.9356 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.001315/0.8426, allocations: 0.6307 MB / 1.216 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.8427, allocations: 8.031 kB / 1.216 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.8437, allocations: 172.4 kB / 1.217 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007607/0.8445, allocations: 324.3 kB / 1.217 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.8445, allocations: 8.562 kB / 1.217 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.8445, allocations: 11.94 kB / 1.217 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/0.8452, allocations: 221.5 kB / 1.217 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.8453, allocations: 4 kB / 1.217 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.8453, allocations: 4 kB / 1.217 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.8453, allocations: 0 / 1.217 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.8463, allocations: 283.6 kB / 1.217 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.8476, allocations: 0.5823 MB / 1.218 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/0.8482, allocations: 166.5 kB / 1.218 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005147/0.8488, allocations: 160.7 kB / 1.218 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008798/0.8496, allocations: 0.5454 MB / 1.219 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.8497, allocations: 34.56 kB / 1.219 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.454e-06/0.8497, allocations: 4 kB / 1.219 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.001708/0.8514, allocations: 483.3 kB / 1.219 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.8515, allocations: 59.66 kB / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.8517, allocations: 260.6 kB / 1.22 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.8518, allocations: 29.7 kB / 1.22 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.8519, allocations: 155.9 kB / 1.22 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.8519, allocations: 43.36 kB / 1.22 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-05/0.852, allocations: 37.69 kB / 1.22 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.8522, allocations: 342.8 kB / 1.22 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005112/0.8527, allocations: 147.8 kB / 1.22 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.8532, allocations: 153.7 kB / 1.22 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009909/0.8542, allocations: 294.6 kB / 1.221 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.8542, allocations: 4 kB / 1.221 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00116/0.8554, allocations: 361 kB / 1.221 GB, free: 284 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.8554, allocations: 11.94 kB / 1.221 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.8554, allocations: 4 kB / 1.221 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.8554, allocations: 0 / 1.221 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.8559, allocations: 75.84 kB / 1.221 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.8559, allocations: 0 / 1.221 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.8563, allocations: 47.73 kB / 1.221 GB, free: 144 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.8563, allocations: 7.984 kB / 1.221 GB, free: 136 kB / 0.9356 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.0001601/0.8565, allocations: 131.4 kB / 1.221 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/0.8565, allocations: 27.62 kB / 1.221 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.8578, allocations: 387.1 kB / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.8578, allocations: 0 / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.8578, allocations: 4 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.8578, allocations: 3.938 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.8582, allocations: 301.4 kB / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.8582, allocations: 0 / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.8586, allocations: 59.91 kB / 1.222 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.8586, allocations: 4 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.8587, allocations: 8 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8587, allocations: 0 / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8587, allocations: 0 / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.8598, allocations: 454.8 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.8599, allocations: 116.8 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.86, allocations: 4 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.8604, allocations: 39.94 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.8604, allocations: 15.98 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.8605, allocations: 11.92 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001662/0.8606, allocations: 187.1 kB / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8606, allocations: 0 / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003515/0.861, allocations: 63.98 kB / 1.223 GB, free: 14.25 MB / 0.9512 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.0002538/0.8613, allocations: 147.1 kB / 1.223 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.8624, allocations: 315.2 kB / 1.223 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8624, allocations: 4 kB / 1.223 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005469/0.8629, allocations: 167.8 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.8634, allocations: 41.41 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.8645, allocations: 0.5112 MB / 1.224 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.8648, allocations: 0.7552 MB / 1.225 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.8649, allocations: 27.41 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.8649, allocations: 0 / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of Templates: time 0.006312/0.8712, allocations: 3.734 MB / 1.229 GB, free: 8.527 MB / 0.9512 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