Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 92.16 kB / 16.02 MB, free: 80 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.001425/0.001425, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.317/1.317, allocations: 223.3 MB / 241 MB, free: 5.336 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.411/2.411, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 16 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7317/0.7321, allocations: 142.4 MB / 0.9557 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.17/0.9022, allocations: 152.4 MB / 1.105 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0268/0.929, allocations: 21.36 MB / 1.125 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/0.9313, allocations: 47.69 kB / 1.125 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.9331, allocations: 1.142 MB / 1.127 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.935, allocations: 0.8177 MB / 1.127 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.9364, allocations: 382.7 kB / 1.128 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001918/0.9383, allocations: 1.352 MB / 1.129 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.9394, allocations: 0.5983 MB / 1.13 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009322/0.9403, allocations: 470.3 kB / 1.13 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.9417, allocations: 0.8864 MB / 1.131 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.9419, allocations: 28 kB / 1.131 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.9422, allocations: 71.92 kB / 1.131 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003238/0.9426, allocations: 288.7 kB / 1.131 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006269/0.9432, allocations: 470.5 kB / 1.132 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.9442, allocations: 0.8963 MB / 1.133 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.9443, allocations: 0 / 1.133 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9443, allocations: 0 / 1.133 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.327e-05/0.9443, allocations: 0 / 1.133 GB, free: 9.605 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002272/0.9466, allocations: 1.32 MB / 1.134 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.9467, allocations: 12.03 kB / 1.134 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.9468, allocations: 139.2 kB / 1.134 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008169/0.9477, allocations: 0.6511 MB / 1.135 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.9478, allocations: 74.69 kB / 1.135 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-05/0.9479, allocations: 51.91 kB / 1.135 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009473/0.9489, allocations: 0.5263 MB / 1.135 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.9489, allocations: 0 / 1.135 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.9489, allocations: 20 kB / 1.135 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.949, allocations: 8 kB / 1.135 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008662/0.9498, allocations: 435.7 kB / 1.136 GB, free: 6.258 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.003584/0.9534, allocations: 2.786 MB / 1.138 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.9544, allocations: 467.8 kB / 1.139 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006827/0.9551, allocations: 321.3 kB / 1.139 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.9552, allocations: 4.328 kB / 1.139 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005964/0.9558, allocations: 291.7 kB / 1.139 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 3.135e-06/0.9558, allocations: 0 / 1.139 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.002806/0.9586, allocations: 1.187 MB / 1.141 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.9587, allocations: 55.41 kB / 1.141 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.9606, allocations: 1.764 MB / 1.142 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.9607, allocations: 37.7 kB / 1.142 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000468/0.9611, allocations: 0.5288 MB / 1.143 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.9613, allocations: 146 kB / 1.143 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/0.9614, allocations: 49.69 kB / 1.143 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.9615, allocations: 338 kB / 1.143 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005732/0.9621, allocations: 225 kB / 1.144 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/0.9628, allocations: 363.1 kB / 1.144 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.9638, allocations: 0.5508 MB / 1.145 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.9638, allocations: 3.938 kB / 1.145 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001741/0.9656, allocations: 0.8374 MB / 1.145 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.9656, allocations: 11.94 kB / 1.145 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.9656, allocations: 7.984 kB / 1.145 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004402/0.9661, allocations: 128.7 kB / 1.146 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.9665, allocations: 115.9 kB / 1.146 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.9693, allocations: 2.385 MB / 1.148 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/0.9698, allocations: 91.45 kB / 1.148 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.9698, allocations: 24 kB / 1.148 GB, free: 9.004 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005597/0.9704, allocations: 385.3 kB / 1.148 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.9705, allocations: 114.6 kB / 1.149 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.9708, allocations: 139.7 kB / 1.149 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.9708, allocations: 8 kB / 1.149 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.9708, allocations: 7.938 kB / 1.149 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.9708, allocations: 7.984 kB / 1.149 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.9731, allocations: 1.521 MB / 1.15 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.9731, allocations: 4 kB / 1.15 GB, free: 6.758 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.9734, allocations: 47.97 kB / 1.15 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000402/0.9738, allocations: 166.5 kB / 1.15 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.9738, allocations: 8 kB / 1.15 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003368/0.9772, allocations: 3.696 MB / 1.154 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9772, allocations: 8 kB / 1.154 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.979, allocations: 1.014 MB / 1.155 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/0.9794, allocations: 219.5 kB / 1.155 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.182e-05/0.9795, allocations: 15.94 kB / 1.155 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.9798, allocations: 47.89 kB / 1.155 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.98, allocations: 55.92 kB / 1.155 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.372e-05/0.9801, allocations: 8 kB / 1.155 GB, free: 1.172 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001661/0.9817, allocations: 1.293 MB / 1.157 GB, free: 15.88 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9818, allocations: 0 / 1.157 GB, free: 15.88 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000931/0.9827, allocations: 199.7 kB / 1.157 GB, free: 15.68 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: 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,12,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.001408/0.9841, allocations: 489.6 kB / 1.157 GB, free: 15.39 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.9859, allocations: 0.7053 MB / 1.158 GB, free: 14.67 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.9859, allocations: 0 / 1.158 GB, free: 14.67 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009431/0.9868, allocations: 0.533 MB / 1.159 GB, free: 14.11 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.988, allocations: 185.2 kB / 1.159 GB, free: 13.93 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/0.9931, allocations: 2.814 MB / 1.161 GB, free: 11.08 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008238/0.9939, allocations: 1.142 MB / 1.163 GB, free: 9.906 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.9941, allocations: 47.42 kB / 1.163 GB, free: 9.859 MB / 0.92 GB Notification: Performance of SimCode: time 1.913e-06/0.9941, allocations: 4 kB / 1.163 GB, free: 9.855 MB / 0.92 GB Notification: Performance of Templates: time 0.02651/1.021, allocations: 17.6 MB / 1.18 GB, free: 8.293 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches