Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001081/0.001082, allocations: 103.4 kB / 16.35 MB, free: 5.875 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.001022/0.001022, allocations: 191 kB / 17.29 MB, free: 5.516 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.427/2.427, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 56.56 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2905, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.6519/0.9425, allocations: 156.8 MB / 1.172 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02571/0.9682, allocations: 21.74 MB / 1.193 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.9706, allocations: 50.91 kB / 1.193 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.9723, allocations: 1.164 MB / 1.194 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.974, allocations: 0.8518 MB / 1.195 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.9753, allocations: 449.8 kB / 1.196 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001615/0.9769, allocations: 1.267 MB / 1.197 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009552/0.9779, allocations: 0.6841 MB / 1.197 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008543/0.9787, allocations: 0.5471 MB / 1.198 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.9798, allocations: 0.9191 MB / 1.199 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.9799, allocations: 64.94 kB / 1.199 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.9801, allocations: 106.9 kB / 1.199 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.9804, allocations: 322 kB / 1.199 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.9808, allocations: 492.9 kB / 1.2 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.9819, allocations: 1.199 MB / 1.201 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.9819, allocations: 4 kB / 1.201 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9819, allocations: 0 / 1.201 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.778e-05/0.9819, allocations: 0 / 1.201 GB, free: 9.645 MB / 0.9044 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.0021/0.9841, allocations: 1.472 MB / 1.202 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.9841, allocations: 10.33 kB / 1.202 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.9843, allocations: 131 kB / 1.203 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009229/0.9852, allocations: 0.6714 MB / 1.203 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.9854, allocations: 74.53 kB / 1.203 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.953e-05/0.9854, allocations: 49.61 kB / 1.203 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008734/0.9863, allocations: 0.5227 MB / 1.204 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.9864, allocations: 0 / 1.204 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/0.9864, allocations: 16.72 kB / 1.204 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.9864, allocations: 10.22 kB / 1.204 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007934/0.9872, allocations: 415.1 kB / 1.204 GB, free: 7.25 MB / 0.9044 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.003415/0.9906, allocations: 2.715 MB / 1.207 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008828/0.9915, allocations: 443.5 kB / 1.207 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005836/0.9921, allocations: 314.1 kB / 1.208 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.9922, allocations: 5.766 kB / 1.208 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005195/0.9927, allocations: 295.8 kB / 1.208 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.335e-06/0.9927, allocations: 0 / 1.208 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.002584/0.9953, allocations: 1.142 MB / 1.209 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.9954, allocations: 56.34 kB / 1.209 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.9971, allocations: 1.761 MB / 1.211 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-05/0.9972, allocations: 36.42 kB / 1.211 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.9976, allocations: 0.5319 MB / 1.211 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.9977, allocations: 150 kB / 1.212 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.9979, allocations: 96.75 kB / 1.212 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.998, allocations: 324.8 kB / 1.212 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.9984, allocations: 211.1 kB / 1.212 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/0.9989, allocations: 347.5 kB / 1.212 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008422/0.9998, allocations: 0.5168 MB / 1.213 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.9998, allocations: 2.781 kB / 1.213 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00159/1.001, allocations: 0.8112 MB / 1.214 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.001, allocations: 10.59 kB / 1.214 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.001, allocations: 4 kB / 1.214 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004349/1.002, allocations: 141.9 kB / 1.214 GB, free: 484 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/1.002, allocations: 103.8 kB / 1.214 GB, free: 380 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/1.005, allocations: 2.599 MB / 1.217 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/1.006, allocations: 75.42 kB / 1.217 GB, free: 13.56 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/1.006, allocations: 20 kB / 1.217 GB, free: 13.54 MB / 0.92 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.0006021/1.007, allocations: 383.4 kB / 1.217 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/1.007, allocations: 114.5 kB / 1.217 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/1.007, allocations: 151.7 kB / 1.217 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.007, allocations: 4 kB / 1.217 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/1.007, allocations: 4 kB / 1.217 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.007, allocations: 0 / 1.217 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/1.01, allocations: 1.497 MB / 1.219 GB, free: 11.33 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.01, allocations: 0 / 1.219 GB, free: 11.33 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/1.01, allocations: 47.89 kB / 1.219 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/1.01, allocations: 163.8 kB / 1.219 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/1.01, allocations: 19.98 kB / 1.219 GB, free: 11.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/1.014, allocations: 4.026 MB / 1.223 GB, free: 6.801 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.014, allocations: 0 / 1.223 GB, free: 6.801 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/1.016, allocations: 0.9851 MB / 1.224 GB, free: 5.789 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/1.017, allocations: 219.6 kB / 1.224 GB, free: 5.555 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.463e-05/1.017, allocations: 12 kB / 1.224 GB, free: 5.543 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/1.017, allocations: 27.97 kB / 1.224 GB, free: 5.516 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/1.017, allocations: 55.92 kB / 1.224 GB, free: 5.461 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/1.017, allocations: 12 kB / 1.224 GB, free: 5.449 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001442/1.019, allocations: 1.293 MB / 1.225 GB, free: 4.152 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.553e-06/1.019, allocations: 0 / 1.225 GB, free: 4.152 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000758/1.019, allocations: 199.6 kB / 1.226 GB, free: 3.957 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.001116/1.021, allocations: 492.4 kB / 1.226 GB, free: 3.656 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001426/1.022, allocations: 0.6551 MB / 1.227 GB, free: 2.988 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.022, allocations: 8.125 kB / 1.227 GB, free: 2.98 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008457/1.023, allocations: 0.5166 MB / 1.227 GB, free: 2.438 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000964/1.024, allocations: 198.1 kB / 1.227 GB, free: 2.25 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/1.027, allocations: 2.359 MB / 1.23 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007564/1.028, allocations: 1.153 MB / 1.231 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003504/1.028, allocations: 96.78 kB / 1.231 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/1.029, allocations: 47.38 kB / 1.231 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of SimCode: time 1.894e-06/1.029, allocations: 0 / 1.231 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of Templates: time 0.01928/1.048, allocations: 10.03 MB / 1.241 GB, free: 4.629 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches