Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001638/0.001639, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.156/2.156, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.75 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2239, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.6012/0.8251, allocations: 156.7 MB / 1.104 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02417/0.8494, allocations: 21.74 MB / 1.125 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002472/0.8519, allocations: 54 kB / 1.125 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.8537, allocations: 1.166 MB / 1.127 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.8555, allocations: 0.8593 MB / 1.127 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.8569, allocations: 439.8 kB / 1.128 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001844/0.8588, allocations: 1.259 MB / 1.129 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.8598, allocations: 0.6835 MB / 1.13 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.8611, allocations: 0.552 MB / 1.13 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.8626, allocations: 0.917 MB / 1.131 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.8628, allocations: 64.84 kB / 1.131 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.8631, allocations: 109.3 kB / 1.131 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.8634, allocations: 321.5 kB / 1.132 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004341/0.8639, allocations: 493.7 kB / 1.132 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.865, allocations: 1.197 MB / 1.133 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8651, allocations: 0 / 1.133 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8651, allocations: 0.9062 kB / 1.133 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.8651, allocations: 0.8125 kB / 1.133 GB, free: 6.309 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002391/0.8675, allocations: 1.479 MB / 1.135 GB, free: 21.43 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.8675, allocations: 9.875 kB / 1.135 GB, free: 21.43 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.8677, allocations: 139.7 kB / 1.135 GB, free: 21.36 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009021/0.8686, allocations: 0.6609 MB / 1.136 GB, free: 20.98 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.8688, allocations: 74.66 kB / 1.136 GB, free: 20.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.762e-05/0.8689, allocations: 52.56 kB / 1.136 GB, free: 20.94 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008987/0.8698, allocations: 0.5172 MB / 1.136 GB, free: 20.87 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.8698, allocations: 0 / 1.136 GB, free: 20.87 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.8698, allocations: 22.81 kB / 1.136 GB, free: 20.87 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.8699, allocations: 10.12 kB / 1.136 GB, free: 20.87 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007785/0.8706, allocations: 414 kB / 1.137 GB, free: 20.87 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003498/0.8742, allocations: 2.781 MB / 1.139 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009565/0.8751, allocations: 462.7 kB / 1.14 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/0.8756, allocations: 289.7 kB / 1.14 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.8757, allocations: 7.672 kB / 1.14 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005215/0.8762, allocations: 304.1 kB / 1.14 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 2.214e-06/0.8762, allocations: 0 / 1.14 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.00291/0.8792, allocations: 1.237 MB / 1.142 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.8792, allocations: 59.95 kB / 1.142 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.8811, allocations: 1.754 MB / 1.143 GB, free: 18.74 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.8812, allocations: 40.52 kB / 1.143 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005361/0.8817, allocations: 0.5177 MB / 1.144 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.8818, allocations: 149.9 kB / 1.144 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.882, allocations: 99.02 kB / 1.144 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8821, allocations: 326.8 kB / 1.144 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/0.8826, allocations: 217 kB / 1.145 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.8831, allocations: 328.5 kB / 1.145 GB, free: 17.9 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008155/0.8839, allocations: 0.5112 MB / 1.145 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.8839, allocations: 1.156 kB / 1.145 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0016/0.8855, allocations: 0.8482 MB / 1.146 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.8855, allocations: 9.406 kB / 1.146 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8856, allocations: 3.719 kB / 1.146 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005069/0.8861, allocations: 184.2 kB / 1.146 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.8864, allocations: 98.3 kB / 1.147 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/0.8897, allocations: 3.007 MB / 1.149 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/0.8903, allocations: 72.39 kB / 1.15 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.8903, allocations: 20.28 kB / 1.15 GB, free: 15.02 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006/0.8909, allocations: 383.2 kB / 1.15 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.8911, allocations: 120.5 kB / 1.15 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.8913, allocations: 141.3 kB / 1.15 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.8913, allocations: 6.594 kB / 1.15 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.8913, allocations: 10.17 kB / 1.15 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.8913, allocations: 5 kB / 1.15 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.8938, allocations: 1.564 MB / 1.152 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8938, allocations: 1.344 kB / 1.152 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.894, allocations: 41.45 kB / 1.152 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/0.8945, allocations: 195.5 kB / 1.152 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.8945, allocations: 14.47 kB / 1.152 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004062/0.8986, allocations: 4.556 MB / 1.156 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.8986, allocations: 1.062 kB / 1.156 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.9005, allocations: 1.061 MB / 1.157 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.9008, allocations: 211.5 kB / 1.158 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.977e-05/0.9009, allocations: 14.83 kB / 1.158 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.9013, allocations: 32.39 kB / 1.158 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.9014, allocations: 54.31 kB / 1.158 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.9015, allocations: 19.12 kB / 1.158 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001449/0.9029, allocations: 1.276 MB / 1.159 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9029, allocations: 1 kB / 1.159 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008888/0.9038, allocations: 203.2 kB / 1.159 GB, free: 8.949 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001107/0.9049, allocations: 495.1 kB / 1.16 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.9064, allocations: 0.7142 MB / 1.16 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9064, allocations: 0 / 1.16 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008399/0.9072, allocations: 0.5494 MB / 1.161 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009601/0.9082, allocations: 199.5 kB / 1.161 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.9117, allocations: 2.375 MB / 1.163 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/0.9124, allocations: 1.151 MB / 1.165 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002712/0.9127, allocations: 87 kB / 1.165 GB, free: 6.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.9128, allocations: 46.28 kB / 1.165 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/0.9128, allocations: 0 / 1.165 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of Templates: time 0.01785/0.9307, allocations: 10.44 MB / 1.175 GB, free: 4.453 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches