Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001812/0.001812, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002223/0.002223, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.48/1.48, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 55.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8356/0.8369, allocations: 140.4 MB / 0.9496 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00313/0.8401, allocations: 2.133 MB / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00384/0.844, allocations: 3.794 MB / 0.9554 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.8441, allocations: 1.438 kB / 0.9554 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.8445, allocations: 62.02 kB / 0.9554 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.8449, allocations: 122.9 kB / 0.9556 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.8452, allocations: 153.3 kB / 0.9557 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.8456, allocations: 319.6 kB / 0.956 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.8457, allocations: 54.34 kB / 0.9561 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.846, allocations: 130.3 kB / 0.9562 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.8461, allocations: 145.5 kB / 0.9563 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.115e-05/0.8462, allocations: 20.34 kB / 0.9563 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002642/0.8465, allocations: 134.2 kB / 0.9565 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.8465, allocations: 61.41 kB / 0.9565 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.8467, allocations: 126.4 kB / 0.9566 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.847, allocations: 330.1 kB / 0.957 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.847, allocations: 7.844 kB / 0.957 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.847, allocations: 0 / 0.957 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.8471, allocations: 0 / 0.957 GB, free: 3.207 MB / 0.7169 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.001138/0.8482, allocations: 0.6192 MB / 0.9576 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.8482, allocations: 8.812 kB / 0.9576 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009716/0.8492, allocations: 178.5 kB / 0.9578 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006337/0.8499, allocations: 322.4 kB / 0.9581 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.8499, allocations: 8.688 kB / 0.9581 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.8499, allocations: 14.8 kB / 0.9581 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.8506, allocations: 223.8 kB / 0.9583 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.8506, allocations: 0 / 0.9583 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.8506, allocations: 1.375 kB / 0.9583 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.8506, allocations: 6.734 kB / 0.9583 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009805/0.8516, allocations: 287.7 kB / 0.9586 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.8529, allocations: 0.5751 MB / 0.9591 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005534/0.8534, allocations: 173.2 kB / 0.9593 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.8539, allocations: 154.3 kB / 0.9595 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000732/0.8547, allocations: 0.5489 MB / 0.96 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.8547, allocations: 35.67 kB / 0.96 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.8547, allocations: 7.938 kB / 0.96 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.001688/0.8564, allocations: 480.3 kB / 0.9605 GB, free: 436 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.8565, allocations: 56.56 kB / 0.9605 GB, free: 368 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.8567, allocations: 267.3 kB / 0.9608 GB, free: 172 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.8568, allocations: 26.8 kB / 0.9608 GB, free: 140 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.849e-05/0.8569, allocations: 152 kB / 0.961 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.8569, allocations: 44.67 kB / 0.961 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.857, allocations: 39.25 kB / 0.961 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.8572, allocations: 340 kB / 0.9614 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000541/0.8577, allocations: 148 kB / 0.9615 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/0.8583, allocations: 150.3 kB / 0.9617 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.8593, allocations: 288.8 kB / 0.9619 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8593, allocations: 0 / 0.9619 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001216/0.8605, allocations: 365.7 kB / 0.9623 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.8606, allocations: 9 kB / 0.9623 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.8606, allocations: 7.969 kB / 0.9623 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.8606, allocations: 9.438 kB / 0.9623 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/0.8611, allocations: 66.02 kB / 0.9624 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.8611, allocations: 1.188 kB / 0.9624 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.8614, allocations: 45.86 kB / 0.9624 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.8615, allocations: 12.08 kB / 0.9624 GB, free: 15.05 MB / 0.7325 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.0001538/0.8616, allocations: 130.5 kB / 0.9625 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.8617, allocations: 27.48 kB / 0.9626 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.863, allocations: 376.4 kB / 0.9629 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.863, allocations: 2.531 kB / 0.9629 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.863, allocations: 0 / 0.9629 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.863, allocations: 3.938 kB / 0.9629 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.8634, allocations: 310 kB / 0.9632 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8634, allocations: 0 / 0.9632 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.8638, allocations: 57.55 kB / 0.9633 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.8638, allocations: 3.938 kB / 0.9633 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.8639, allocations: 10.31 kB / 0.9633 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.8639, allocations: 5.203 kB / 0.9633 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8639, allocations: 0 / 0.9633 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.8651, allocations: 443.4 kB / 0.9637 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.8652, allocations: 120.7 kB / 0.9638 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.8653, allocations: 7.766 kB / 0.9639 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.8656, allocations: 33.48 kB / 0.9639 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.8657, allocations: 23.41 kB / 0.9639 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.8657, allocations: 5.312 kB / 0.9639 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001767/0.8659, allocations: 186.5 kB / 0.9641 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8659, allocations: 0 / 0.9641 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003768/0.8663, allocations: 78.52 kB / 0.9642 GB, free: 13.75 MB / 0.7325 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.000252/0.8665, allocations: 144.6 kB / 0.9643 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.8678, allocations: 332.1 kB / 0.9646 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8678, allocations: 0 / 0.9646 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005422/0.8683, allocations: 161.7 kB / 0.9648 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.8688, allocations: 34.61 kB / 0.9648 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.87, allocations: 0.4928 MB / 0.9653 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.8704, allocations: 0.746 MB / 0.966 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002636/0.8707, allocations: 50.42 kB / 0.9661 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.8708, allocations: 28.34 kB / 0.9661 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of SimCode: time 4.1e-07/0.8708, allocations: 1.25 kB / 0.9661 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.007441/0.8782, allocations: 3.282 MB / 0.9693 GB, free: 10.61 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches