Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.ReducedOrder.Validation.VDI6007.TestCase7,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.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,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.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.00155/0.00155, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.356/2.356, allocations: 390.2 MB / 0.665 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 66.47 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3398, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.8266/1.167, allocations: 155.7 MB / 1.102 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03432/1.201, allocations: 21.86 MB / 1.123 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004695/1.206, allocations: 60.88 kB / 1.123 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002909/1.209, allocations: 1.336 MB / 1.125 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00343/1.212, allocations: 0.9648 MB / 1.125 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002324/1.214, allocations: 0.5614 MB / 1.126 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0038/1.218, allocations: 1.704 MB / 1.128 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/1.22, allocations: 0.9677 MB / 1.129 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/1.222, allocations: 0.7394 MB / 1.129 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/1.225, allocations: 1.241 MB / 1.131 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002234/1.225, allocations: 92.59 kB / 1.131 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005477/1.225, allocations: 138.8 kB / 1.131 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005074/1.226, allocations: 440.5 kB / 1.131 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007864/1.227, allocations: 0.654 MB / 1.132 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/1.228, allocations: 1.224 MB / 1.133 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.228, allocations: 2.188 kB / 1.133 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.715e-06/1.228, allocations: 0 / 1.133 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.147e-05/1.228, allocations: 0.8125 kB / 1.133 GB, free: 6.344 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003925/1.232, allocations: 1.913 MB / 1.135 GB, free: 21.28 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/1.232, allocations: 9.938 kB / 1.135 GB, free: 21.28 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004792/1.233, allocations: 190.2 kB / 1.135 GB, free: 21.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/1.234, allocations: 0.8682 MB / 1.136 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/1.235, allocations: 89.06 kB / 1.136 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/1.235, allocations: 65.59 kB / 1.136 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/1.236, allocations: 0.7252 MB / 1.137 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/1.236, allocations: 5.938 kB / 1.137 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/1.236, allocations: 23.97 kB / 1.137 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/1.236, allocations: 19.47 kB / 1.137 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/1.238, allocations: 0.541 MB / 1.137 GB, free: 20.58 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.005526/1.243, allocations: 3.626 MB / 1.141 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/1.245, allocations: 0.6057 MB / 1.142 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007553/1.245, allocations: 385.6 kB / 1.142 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.738e-05/1.245, allocations: 9.172 kB / 1.142 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007762/1.246, allocations: 378.9 kB / 1.142 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=65): time 3.065e-06/1.246, allocations: 0.9062 kB / 1.142 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65): time 0.005525/1.252, allocations: 1.78 MB / 1.144 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/1.252, allocations: 65.31 kB / 1.144 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003177/1.255, allocations: 2.258 MB / 1.146 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/1.255, allocations: 42.14 kB / 1.146 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005794/1.256, allocations: 0.7178 MB / 1.147 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/1.256, allocations: 211.5 kB / 1.147 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/1.256, allocations: 126.4 kB / 1.147 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.256, allocations: 334.1 kB / 1.148 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006441/1.257, allocations: 279.7 kB / 1.148 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007183/1.258, allocations: 420.5 kB / 1.148 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.259, allocations: 0.6622 MB / 1.149 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.259, allocations: 0.9688 kB / 1.149 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002595/1.262, allocations: 1.123 MB / 1.15 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.262, allocations: 9.406 kB / 1.15 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.262, allocations: 4.25 kB / 1.15 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000888/1.262, allocations: 278.5 kB / 1.15 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/1.263, allocations: 119.5 kB / 1.15 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00549/1.268, allocations: 3.749 MB / 1.154 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009831/1.269, allocations: 103.5 kB / 1.154 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/1.27, allocations: 25.72 kB / 1.154 GB, free: 12.64 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001079/1.271, allocations: 463.3 kB / 1.155 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/1.271, allocations: 162.7 kB / 1.155 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/1.271, allocations: 184.9 kB / 1.155 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.271, allocations: 11.28 kB / 1.155 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.271, allocations: 0 / 1.155 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/1.271, allocations: 6.984 kB / 1.155 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/1.275, allocations: 2.032 MB / 1.157 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.275, allocations: 4 kB / 1.157 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/1.275, allocations: 57.09 kB / 1.157 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007561/1.276, allocations: 277.5 kB / 1.157 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.413e-05/1.276, allocations: 28.12 kB / 1.157 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006621/1.283, allocations: 5.236 MB / 1.162 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.283, allocations: 3 kB / 1.162 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/1.286, allocations: 1.397 MB / 1.164 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007235/1.286, allocations: 266.1 kB / 1.164 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003683/1.287, allocations: 26.31 kB / 1.164 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006647/1.287, allocations: 41.22 kB / 1.164 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/1.288, allocations: 69.84 kB / 1.164 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.259e-05/1.288, allocations: 20.27 kB / 1.164 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002804/1.291, allocations: 1.633 MB / 1.166 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.81e-07/1.291, allocations: 4 kB / 1.166 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001435/1.292, allocations: 284 kB / 1.166 GB, free: 5.68 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001339/1.293, allocations: 489.1 kB / 1.167 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002467/1.296, allocations: 0.9529 MB / 1.167 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.296, allocations: 6.219 kB / 1.168 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/1.297, allocations: 0.6705 MB / 1.168 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/1.299, allocations: 282.5 kB / 1.168 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006858/1.306, allocations: 3.606 MB / 1.172 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/1.307, allocations: 1.308 MB / 1.173 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/1.308, allocations: 60.55 kB / 1.173 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of SimCode: time 1.512e-06/1.308, allocations: 0 / 1.173 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.04182/1.35, allocations: 23.64 MB / 1.196 GB, free: 7.336 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[1],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[1],time