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.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.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.001114/0.001114, allocations: 99.27 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 181.6 kB / 16.92 MB, free: 6.918 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.387/1.387, allocations: 223.3 MB / 241 MB, free: 5.23 MB / 190.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.713/2.713, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 8.281 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7306/0.731, allocations: 142.4 MB / 0.9557 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1769/0.9079, allocations: 152.6 MB / 1.105 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03039/0.9384, allocations: 21.5 MB / 1.126 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.9409, allocations: 47.69 kB / 1.126 GB, free: 0.6719 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.9431, allocations: 1.313 MB / 1.127 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.9453, allocations: 0.9228 MB / 1.128 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.9468, allocations: 457.4 kB / 1.128 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002131/0.949, allocations: 1.516 MB / 1.13 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.9503, allocations: 0.6803 MB / 1.131 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.9515, allocations: 0.5566 MB / 1.131 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.9531, allocations: 1.066 MB / 1.132 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.9533, allocations: 32 kB / 1.132 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004072/0.9537, allocations: 83.91 kB / 1.132 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003821/0.9541, allocations: 348.5 kB / 1.133 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007102/0.9548, allocations: 0.5331 MB / 1.133 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.9559, allocations: 1.009 MB / 1.134 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.9559, allocations: 0 / 1.134 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9559, allocations: 0 / 1.134 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.171e-05/0.956, allocations: 0 / 1.134 GB, free: 8.133 MB / 0.8887 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.002674/0.9586, allocations: 1.489 MB / 1.136 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.9587, allocations: 12.03 kB / 1.136 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003865/0.9591, allocations: 163 kB / 1.136 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.9601, allocations: 0.7437 MB / 1.136 GB, free: 5.621 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.9603, allocations: 82.69 kB / 1.137 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/0.9604, allocations: 59.89 kB / 1.137 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.9615, allocations: 0.577 MB / 1.137 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.9615, allocations: 0 / 1.137 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.9616, allocations: 20 kB / 1.137 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.9616, allocations: 12 kB / 1.137 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00093/0.9626, allocations: 471.6 kB / 1.138 GB, free: 4.395 MB / 0.8887 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.00399/0.9666, allocations: 3.057 MB / 1.141 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.9677, allocations: 0.5187 MB / 1.141 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000607/0.9683, allocations: 325.4 kB / 1.141 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.9684, allocations: 4.375 kB / 1.141 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000652/0.969, allocations: 349.1 kB / 1.142 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 3.306e-06/0.9691, allocations: 0 / 1.142 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.003306/0.9724, allocations: 1.391 MB / 1.143 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.9724, allocations: 59.84 kB / 1.143 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/0.9748, allocations: 2.112 MB / 1.145 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.9748, allocations: 42.25 kB / 1.145 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005251/0.9754, allocations: 0.6245 MB / 1.146 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.9755, allocations: 169.6 kB / 1.146 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.392e-05/0.9756, allocations: 57.69 kB / 1.146 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.9758, allocations: 330 kB / 1.146 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000559/0.9763, allocations: 261.1 kB / 1.147 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006058/0.9769, allocations: 366.5 kB / 1.147 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.978, allocations: 0.5723 MB / 1.148 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.978, allocations: 4 kB / 1.148 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001844/0.9798, allocations: 0.9505 MB / 1.149 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.9799, allocations: 8 kB / 1.149 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.9799, allocations: 7.984 kB / 1.149 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005368/0.9804, allocations: 194.7 kB / 1.149 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.9809, allocations: 119.7 kB / 1.149 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003373/0.9842, allocations: 2.788 MB / 1.152 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/0.9848, allocations: 99.45 kB / 1.152 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.9849, allocations: 31.91 kB / 1.152 GB, free: 5.387 MB / 0.9044 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.000591/0.9855, allocations: 439.8 kB / 1.152 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.9856, allocations: 138.2 kB / 1.152 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.9859, allocations: 162 kB / 1.152 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.9859, allocations: 8 kB / 1.152 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.9859, allocations: 0 / 1.152 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.9859, allocations: 7.984 kB / 1.152 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/0.9887, allocations: 1.761 MB / 1.154 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.9887, allocations: 0 / 1.154 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.989, allocations: 55.91 kB / 1.154 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004825/0.9895, allocations: 205.5 kB / 1.154 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.9895, allocations: 11.98 kB / 1.154 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004377/0.9939, allocations: 4.18 MB / 1.158 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9939, allocations: 0 / 1.158 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.9961, allocations: 1.189 MB / 1.16 GB, free: 12.87 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.9965, allocations: 251.2 kB / 1.16 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.672e-05/0.9966, allocations: 12 kB / 1.16 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.997, allocations: 51.95 kB / 1.16 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.9971, allocations: 52.3 kB / 1.16 GB, free: 12.49 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/0.9972, allocations: 19.98 kB / 1.16 GB, free: 12.47 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001745/0.9989, allocations: 1.556 MB / 1.162 GB, free: 10.91 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.673e-06/0.9989, allocations: 0 / 1.162 GB, free: 10.91 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000912/0.9999, allocations: 231.5 kB / 1.162 GB, free: 10.69 MB / 0.92 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.001204/1.001, allocations: 0.4908 MB / 1.162 GB, free: 10.38 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001713/1.003, allocations: 0.7803 MB / 1.163 GB, free: 9.582 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.003, allocations: 0 / 1.163 GB, free: 9.582 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009636/1.004, allocations: 0.5899 MB / 1.164 GB, free: 8.969 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/1.005, allocations: 214.9 kB / 1.164 GB, free: 8.766 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/1.009, allocations: 3.317 MB / 1.167 GB, free: 5.41 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008974/1.01, allocations: 1.232 MB / 1.168 GB, free: 4.145 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/1.011, allocations: 43.44 kB / 1.168 GB, free: 4.105 MB / 0.92 GB Notification: Performance of SimCode: time 1.022e-06/1.011, allocations: 0 / 1.168 GB, free: 4.105 MB / 0.92 GB Notification: Performance of Templates: time 0.03075/1.041, allocations: 20.15 MB / 1.188 GB, free: 0 / 0.9356 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