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.001616/0.001616, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001988/0.001988, allocations: 190.5 kB / 16.14 MB, free: 6.711 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.481/2.481, allocations: 390.2 MB / 0.6642 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.89 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8473/0.8488, allocations: 140.3 MB / 0.9489 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00479/0.8537, allocations: 2.195 MB / 0.9511 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005354/0.859, allocations: 3.769 MB / 0.9547 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.8594, allocations: 2.625 kB / 0.9547 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003863/0.8599, allocations: 48.41 kB / 0.9548 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006042/0.8605, allocations: 115.8 kB / 0.9549 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.861, allocations: 132.5 kB / 0.955 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005345/0.8615, allocations: 291.7 kB / 0.9553 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.8617, allocations: 52.75 kB / 0.9554 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.8621, allocations: 120.6 kB / 0.9555 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.8623, allocations: 141.8 kB / 0.9556 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.8624, allocations: 12.78 kB / 0.9556 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.8628, allocations: 129.1 kB / 0.9557 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.01e-05/0.8629, allocations: 49.33 kB / 0.9558 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.863, allocations: 114.6 kB / 0.9559 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.8635, allocations: 327 kB / 0.9562 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.8635, allocations: 0 / 0.9562 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8636, allocations: 0 / 0.9562 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.8636, allocations: 1.062 kB / 0.9562 GB, free: 3.355 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.001356/0.8649, allocations: 0.6284 MB / 0.9568 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.865, allocations: 9.875 kB / 0.9568 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009607/0.866, allocations: 176.8 kB / 0.957 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007301/0.8667, allocations: 323.8 kB / 0.9573 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.8667, allocations: 5.156 kB / 0.9573 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.8668, allocations: 14.56 kB / 0.9573 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006835/0.8675, allocations: 228.4 kB / 0.9575 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.8675, allocations: 0 / 0.9575 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.8675, allocations: 5.781 kB / 0.9576 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.8675, allocations: 1.812 kB / 0.9576 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009421/0.8685, allocations: 285.5 kB / 0.9578 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.8698, allocations: 0.5777 MB / 0.9584 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005437/0.8704, allocations: 169.6 kB / 0.9586 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004823/0.8709, allocations: 158.8 kB / 0.9587 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007648/0.8717, allocations: 0.5477 MB / 0.9592 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.8717, allocations: 36.72 kB / 0.9593 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.465e-06/0.8717, allocations: 3.938 kB / 0.9593 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.001662/0.8734, allocations: 487.1 kB / 0.9597 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.8734, allocations: 57.59 kB / 0.9598 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.8736, allocations: 263.5 kB / 0.96 GB, free: 316 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.8737, allocations: 27.08 kB / 0.9601 GB, free: 284 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.8738, allocations: 151.5 kB / 0.9602 GB, free: 140 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.8738, allocations: 40.67 kB / 0.9603 GB, free: 104 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/0.8739, allocations: 42.47 kB / 0.9603 GB, free: 68 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.874, allocations: 341.4 kB / 0.9606 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/0.8746, allocations: 142.8 kB / 0.9608 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/0.8751, allocations: 150.8 kB / 0.9609 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009761/0.8761, allocations: 298.7 kB / 0.9612 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.8761, allocations: 0 / 0.9612 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001169/0.8773, allocations: 362.3 kB / 0.9615 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.8773, allocations: 9.125 kB / 0.9615 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8773, allocations: 0.8438 kB / 0.9615 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.8774, allocations: 1.062 kB / 0.9615 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/0.8778, allocations: 70.34 kB / 0.9616 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.8779, allocations: 0.9375 kB / 0.9616 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.8782, allocations: 53.36 kB / 0.9617 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.8783, allocations: 8.016 kB / 0.9617 GB, free: 15.19 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.000159/0.8784, allocations: 131.8 kB / 0.9618 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.8785, allocations: 22.12 kB / 0.9618 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.8797, allocations: 381.3 kB / 0.9622 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.8797, allocations: 2.812 kB / 0.9622 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8797, allocations: 0 / 0.9622 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8797, allocations: 3.938 kB / 0.9622 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.8801, allocations: 309.1 kB / 0.9625 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8801, allocations: 0 / 0.9625 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.8806, allocations: 58.2 kB / 0.9625 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.8806, allocations: 4 kB / 0.9625 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.8806, allocations: 9.359 kB / 0.9625 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.8806, allocations: 9.062 kB / 0.9626 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8806, allocations: 0 / 0.9626 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.8818, allocations: 450 kB / 0.963 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.882, allocations: 114.3 kB / 0.9631 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.882, allocations: 9.25 kB / 0.9631 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.8824, allocations: 36.91 kB / 0.9631 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.8825, allocations: 12.92 kB / 0.9632 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.8825, allocations: 11.61 kB / 0.9632 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001956/0.8827, allocations: 186.1 kB / 0.9633 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8827, allocations: 0 / 0.9633 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004092/0.8832, allocations: 79.86 kB / 0.9634 GB, free: 13.89 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.0002388/0.8834, allocations: 131.8 kB / 0.9635 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.8845, allocations: 320 kB / 0.9638 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8845, allocations: 0 / 0.9638 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000545/0.8851, allocations: 170.1 kB / 0.964 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.8856, allocations: 36.67 kB / 0.964 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.8869, allocations: 0.5626 MB / 0.9646 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.8873, allocations: 0.7464 MB / 0.9653 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002746/0.8876, allocations: 46.14 kB / 0.9654 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.8877, allocations: 24.06 kB / 0.9654 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.8877, allocations: 0 / 0.9654 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.007425/0.8951, allocations: 2.931 MB / 0.9683 GB, free: 10.87 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