Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.001795/0.001795, allocations: 193 kB / 16.91 MB, free: 6.195 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.552/1.552, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.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.405/2.405, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 65.67 kB / 0.8127 GB, free: 33.37 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3663, allocations: 140.4 MB / 0.9498 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.005469/0.3718, allocations: 1.613 MB / 0.9513 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001708/0.372, allocations: 27.86 kB / 0.9514 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.3721, allocations: 0 / 0.9514 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.3723, allocations: 7.938 kB / 0.9514 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.3724, allocations: 11.92 kB / 0.9514 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.3726, allocations: 19.97 kB / 0.9514 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.3728, allocations: 43.86 kB / 0.9514 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.373, allocations: 39.91 kB / 0.9515 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.373, allocations: 15.94 kB / 0.9515 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3731, allocations: 35.91 kB / 0.9515 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.3732, allocations: 4 kB / 0.9515 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.506e-05/0.3732, allocations: 4 kB / 0.9515 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/0.3733, allocations: 15.92 kB / 0.9516 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.553e-05/0.3734, allocations: 31.8 kB / 0.9516 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.3735, allocations: 40.16 kB / 0.9516 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.3735, allocations: 4 kB / 0.9516 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.378e-06/0.3735, allocations: 0 / 0.9516 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.3735, allocations: 0 / 0.9516 GB, free: 7.344 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006597/0.3742, allocations: 363.3 kB / 0.952 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/0.3743, allocations: 12.03 kB / 0.952 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.3743, allocations: 8.844 kB / 0.952 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.3747, allocations: 184.2 kB / 0.9522 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.3747, allocations: 12.31 kB / 0.9522 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3748, allocations: 4.375 kB / 0.9522 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.375, allocations: 99.33 kB / 0.9523 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.375, allocations: 4.125 kB / 0.9523 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.3751, allocations: 7.938 kB / 0.9523 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3751, allocations: 4 kB / 0.9523 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/0.3752, allocations: 47.91 kB / 0.9523 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008994/0.3761, allocations: 0.64 MB / 0.953 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.3762, allocations: 173.1 kB / 0.9531 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.3763, allocations: 80.14 kB / 0.9532 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.3764, allocations: 75.28 kB / 0.9533 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.984e-05/0.3765, allocations: 113.8 kB / 0.9534 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3765, allocations: 4 kB / 0.9534 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.972e-05/0.3766, allocations: 41.48 kB / 0.9534 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.3767, allocations: 126.7 kB / 0.9535 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.3769, allocations: 168.7 kB / 0.9537 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.377, allocations: 25.7 kB / 0.9537 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.3771, allocations: 100 kB / 0.9538 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-06/0.3771, allocations: 0 / 0.9538 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.3771, allocations: 17.7 kB / 0.9538 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3773, allocations: 322.8 kB / 0.9542 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/0.3773, allocations: 0 / 0.9542 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.51e-05/0.3773, allocations: 26.56 kB / 0.9542 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.965e-05/0.3774, allocations: 30.52 kB / 0.9542 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3774, allocations: 0 / 0.9542 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001397/0.3775, allocations: 57.55 kB / 0.9543 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3776, allocations: 7.984 kB / 0.9543 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3776, allocations: 4 kB / 0.9543 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3776, allocations: 3.938 kB / 0.9543 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.3777, allocations: 4 kB / 0.9543 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3777, allocations: 0 / 0.9543 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.3777, allocations: 11.84 kB / 0.9543 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.3777, allocations: 96 / 0.9543 GB, free: 4.344 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.00014/0.3779, allocations: 199.6 kB / 0.9545 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.572e-05/0.378, allocations: 120.8 kB / 0.9546 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.838e-05/0.3781, allocations: 116.6 kB / 0.9547 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-05/0.3781, allocations: 180.3 kB / 0.9549 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-05/0.3782, allocations: 188.2 kB / 0.9551 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.781e-05/0.3783, allocations: 184.3 kB / 0.9552 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.3787, allocations: 425.1 kB / 0.9556 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.558e-05/0.3787, allocations: 109.1 kB / 0.9557 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.539e-05/0.3788, allocations: 108.9 kB / 0.9559 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.673e-05/0.3789, allocations: 180.2 kB / 0.956 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.379, allocations: 184.2 kB / 0.9562 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001638/0.3792, allocations: 184.2 kB / 0.9564 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.803e-05/0.3793, allocations: 176.3 kB / 0.9565 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.3795, allocations: 315.7 kB / 0.9568 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.3797, allocations: 178.1 kB / 0.957 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.3799, allocations: 200.1 kB / 0.9572 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.38, allocations: 101 kB / 0.9573 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.3801, allocations: 180.2 kB / 0.9575 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/0.3802, allocations: 101 kB / 0.9576 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001535/0.3803, allocations: 129.3 kB / 0.9577 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3803, allocations: 3.938 kB / 0.9577 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002426/0.3806, allocations: 8 kB / 0.9577 GB, free: 0.6289 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 (0): * Single equations (assignments): 0 * 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.0002123/0.3808, allocations: 178.5 kB / 0.9579 GB, free: 456 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.3809, allocations: 11.94 kB / 0.9579 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3809, allocations: 4 kB / 0.9579 GB, free: 440 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.3809, allocations: 0 / 0.9579 GB, free: 440 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.3814, allocations: 463.9 kB / 0.9583 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.382, allocations: 263.1 kB / 0.9586 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.3824, allocations: 0.7 MB / 0.9593 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.3825, allocations: 11.44 kB / 0.9593 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.3825, allocations: 4 kB / 0.9593 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of Templates: time 0.003035/0.3855, allocations: 0.7966 MB / 0.9601 GB, free: 14.14 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches