Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 105.4 kB / 15.98 MB, free: 6.336 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.001158/0.001158, allocations: 197.6 kB / 16.91 MB, free: 6.191 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.403/1.403, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.34/2.34, allocations: 390.2 MB / 0.665 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 72.05 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3235, allocations: 140.4 MB / 0.9498 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.8145/1.138, allocations: 154.9 MB / 1.101 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03397/1.172, allocations: 21.62 MB / 1.122 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004028/1.176, allocations: 52.03 kB / 1.122 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002919/1.179, allocations: 1.31 MB / 1.123 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003154/1.182, allocations: 0.926 MB / 1.124 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/1.184, allocations: 456.7 kB / 1.125 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003371/1.188, allocations: 1.439 MB / 1.126 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002074/1.19, allocations: 0.7844 MB / 1.127 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/1.192, allocations: 0.6575 MB / 1.128 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002518/1.195, allocations: 1.145 MB / 1.129 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004658/1.195, allocations: 72.25 kB / 1.129 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009108/1.196, allocations: 124.7 kB / 1.129 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007121/1.197, allocations: 394.7 kB / 1.129 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001291/1.198, allocations: 0.5596 MB / 1.13 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001955/1.2, allocations: 1.052 MB / 1.131 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.2, allocations: 3.75 kB / 1.131 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/1.2, allocations: 0 / 1.131 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.027e-05/1.2, allocations: 2.281 kB / 1.131 GB, free: 6.09 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004785/1.205, allocations: 1.68 MB / 1.132 GB, free: 21.11 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/1.205, allocations: 9.625 kB / 1.133 GB, free: 21.11 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006096/1.206, allocations: 160.5 kB / 1.133 GB, free: 21.03 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/1.207, allocations: 0.7398 MB / 1.133 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/1.208, allocations: 79.64 kB / 1.133 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/1.208, allocations: 51.72 kB / 1.134 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/1.209, allocations: 0.5689 MB / 1.134 GB, free: 20.51 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/1.209, allocations: 2.609 kB / 1.134 GB, free: 20.51 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.318e-05/1.209, allocations: 20.44 kB / 1.134 GB, free: 20.51 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/1.209, allocations: 10.78 kB / 1.134 GB, free: 20.51 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/1.21, allocations: 449.2 kB / 1.135 GB, free: 20.51 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.00533/1.216, allocations: 3.018 MB / 1.137 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/1.217, allocations: 0.5007 MB / 1.138 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006484/1.218, allocations: 318.8 kB / 1.138 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.425e-05/1.218, allocations: 7.25 kB / 1.138 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007144/1.218, allocations: 330.8 kB / 1.139 GB, free: 18.81 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=52): time 3.196e-06/1.218, allocations: 1 kB / 1.139 GB, free: 18.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=52): time 0.003641/1.222, allocations: 1.342 MB / 1.14 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/1.222, allocations: 64.55 kB / 1.14 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003667/1.226, allocations: 2.113 MB / 1.142 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.851e-05/1.226, allocations: 40.08 kB / 1.142 GB, free: 18.22 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006208/1.227, allocations: 0.6279 MB / 1.143 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/1.227, allocations: 165.9 kB / 1.143 GB, free: 17.97 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/1.227, allocations: 109 kB / 1.143 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.227, allocations: 332.7 kB / 1.143 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005988/1.228, allocations: 235 kB / 1.143 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006763/1.229, allocations: 344.3 kB / 1.144 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/1.23, allocations: 0.5503 MB / 1.144 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/1.23, allocations: 2.031 kB / 1.144 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002223/1.232, allocations: 0.9099 MB / 1.145 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/1.232, allocations: 6.031 kB / 1.145 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.232, allocations: 4.344 kB / 1.145 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006234/1.233, allocations: 198.8 kB / 1.145 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/1.233, allocations: 107.6 kB / 1.146 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003991/1.237, allocations: 3.052 MB / 1.149 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008187/1.238, allocations: 80.83 kB / 1.149 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/1.238, allocations: 23.45 kB / 1.149 GB, free: 14.82 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: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001041/1.239, allocations: 442.2 kB / 1.149 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/1.24, allocations: 137.3 kB / 1.149 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005536/1.24, allocations: 167.3 kB / 1.149 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.24, allocations: 9.078 kB / 1.149 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.478e-05/1.24, allocations: 10.94 kB / 1.149 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/1.24, allocations: 4.297 kB / 1.149 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/1.244, allocations: 1.736 MB / 1.151 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1.244, allocations: 0 / 1.151 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/1.244, allocations: 53.77 kB / 1.151 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005236/1.245, allocations: 199 kB / 1.151 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/1.245, allocations: 16.83 kB / 1.151 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004755/1.25, allocations: 4.609 MB / 1.156 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.25, allocations: 0 / 1.156 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/1.252, allocations: 1.166 MB / 1.157 GB, free: 9.262 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005942/1.253, allocations: 243.1 kB / 1.157 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/1.253, allocations: 12.91 kB / 1.157 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/1.254, allocations: 41.75 kB / 1.157 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/1.254, allocations: 54.19 kB / 1.157 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/1.254, allocations: 20.66 kB / 1.157 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002459/1.256, allocations: 1.543 MB / 1.159 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.81e-07/1.256, allocations: 0.8125 kB / 1.159 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001222/1.258, allocations: 227.7 kB / 1.159 GB, free: 8.5 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: 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 (34): * Single equations (assignments): 24 * 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): 2 systems {(2,14,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.001283/1.259, allocations: 493.6 kB / 1.159 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002085/1.261, allocations: 0.7979 MB / 1.16 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.261, allocations: 4.188 kB / 1.16 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/1.262, allocations: 0.5843 MB / 1.161 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/1.264, allocations: 236.1 kB / 1.161 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00545/1.269, allocations: 3.235 MB / 1.164 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.27, allocations: 1.228 MB / 1.165 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/1.27, allocations: 58.39 kB / 1.165 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of SimCode: time 8.32e-07/1.27, allocations: 0 / 1.165 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of Templates: time 0.03437/1.305, allocations: 20.39 MB / 1.185 GB, free: 13.3 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches