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.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.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.001439/0.001439, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001833/0.001833, allocations: 192.4 kB / 16.14 MB, free: 6.645 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.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.416/2.416, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7827/0.7839, allocations: 140.4 MB / 0.9489 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1958/0.9798, allocations: 154.5 MB / 1.1 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03013/1.01, allocations: 21.61 MB / 1.121 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003107/1.013, allocations: 43.75 kB / 1.121 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/1.015, allocations: 1.134 MB / 1.122 GB, free: 232 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/1.017, allocations: 0.806 MB / 1.123 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/1.019, allocations: 387.2 kB / 1.123 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002462/1.022, allocations: 1.345 MB / 1.124 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/1.023, allocations: 0.61 MB / 1.125 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009625/1.024, allocations: 0.4983 MB / 1.126 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/1.025, allocations: 0.902 MB / 1.126 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.66e-05/1.025, allocations: 36 kB / 1.126 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/1.025, allocations: 83.97 kB / 1.127 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003392/1.026, allocations: 312.6 kB / 1.127 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005648/1.026, allocations: 460.8 kB / 1.127 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/1.028, allocations: 1.152 MB / 1.128 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.028, allocations: 3.938 kB / 1.128 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.192e-06/1.028, allocations: 0 / 1.128 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.081e-05/1.028, allocations: 0 / 1.128 GB, free: 9.637 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.002654/1.03, allocations: 1.479 MB / 1.13 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/1.03, allocations: 8.031 kB / 1.13 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/1.031, allocations: 135.2 kB / 1.13 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008547/1.031, allocations: 0.6589 MB / 1.131 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/1.032, allocations: 70.69 kB / 1.131 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/1.032, allocations: 47.91 kB / 1.131 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/1.033, allocations: 0.5223 MB / 1.131 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/1.033, allocations: 0 / 1.131 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/1.033, allocations: 20 kB / 1.131 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/1.033, allocations: 12 kB / 1.131 GB, free: 6.562 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008441/1.034, allocations: 415.7 kB / 1.132 GB, free: 6.156 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.003505/1.037, allocations: 2.728 MB / 1.134 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009699/1.038, allocations: 455.5 kB / 1.135 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006154/1.039, allocations: 294.1 kB / 1.135 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/1.039, allocations: 8.641 kB / 1.135 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005537/1.039, allocations: 287.4 kB / 1.135 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 2.565e-06/1.039, allocations: 0 / 1.135 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.002679/1.042, allocations: 1.152 MB / 1.136 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/1.042, allocations: 55.41 kB / 1.137 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/1.044, allocations: 1.768 MB / 1.138 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/1.044, allocations: 45.64 kB / 1.138 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/1.045, allocations: 0.5249 MB / 1.139 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/1.045, allocations: 138.1 kB / 1.139 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/1.045, allocations: 102.2 kB / 1.139 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.045, allocations: 329.9 kB / 1.139 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/1.046, allocations: 217 kB / 1.14 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005407/1.046, allocations: 335.2 kB / 1.14 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008899/1.047, allocations: 0.5197 MB / 1.14 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/1.047, allocations: 7.938 kB / 1.14 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001473/1.048, allocations: 0.805 MB / 1.141 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/1.049, allocations: 4 kB / 1.141 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.049, allocations: 4 kB / 1.141 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00046/1.049, allocations: 141.9 kB / 1.141 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/1.049, allocations: 103.8 kB / 1.141 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/1.052, allocations: 2.38 MB / 1.144 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/1.053, allocations: 83.39 kB / 1.144 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/1.053, allocations: 20 kB / 1.144 GB, free: 9.113 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.0005386/1.053, allocations: 385.4 kB / 1.144 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/1.053, allocations: 118.5 kB / 1.144 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/1.054, allocations: 139.7 kB / 1.144 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.054, allocations: 7.984 kB / 1.144 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/1.054, allocations: 7.938 kB / 1.144 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/1.054, allocations: 3.984 kB / 1.144 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/1.056, allocations: 1.486 MB / 1.146 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.056, allocations: 0 / 1.146 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/1.056, allocations: 47.91 kB / 1.146 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003844/1.057, allocations: 161.5 kB / 1.146 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/1.057, allocations: 16 kB / 1.146 GB, free: 6.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003413/1.06, allocations: 3.689 MB / 1.15 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.06, allocations: 0 / 1.15 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/1.062, allocations: 0.9828 MB / 1.151 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/1.062, allocations: 211.6 kB / 1.151 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.141e-05/1.062, allocations: 19.92 kB / 1.151 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/1.063, allocations: 39.91 kB / 1.151 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/1.063, allocations: 48.05 kB / 1.151 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/1.063, allocations: 15.98 kB / 1.151 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001369/1.064, allocations: 1.289 MB / 1.152 GB, free: 84 kB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/1.064, allocations: 0 / 1.152 GB, free: 84 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008631/1.065, allocations: 211.8 kB / 1.153 GB, free: 15.87 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.001234/1.066, allocations: 481.4 kB / 1.153 GB, free: 15.58 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001421/1.068, allocations: 0.6765 MB / 1.154 GB, free: 14.89 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.068, allocations: 0 / 1.154 GB, free: 14.89 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008037/1.068, allocations: 0.5174 MB / 1.154 GB, free: 14.35 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/1.07, allocations: 199.3 kB / 1.154 GB, free: 14.17 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/1.074, allocations: 2.694 MB / 1.157 GB, free: 11.45 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/1.075, allocations: 1.146 MB / 1.158 GB, free: 10.27 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000405/1.075, allocations: 96.77 kB / 1.158 GB, free: 10.17 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/1.076, allocations: 47.42 kB / 1.158 GB, free: 10.12 MB / 0.92 GB Notification: Performance of SimCode: time 1.202e-06/1.076, allocations: 0 / 1.158 GB, free: 10.12 MB / 0.92 GB Notification: Performance of Templates: time 0.022/1.098, allocations: 9.401 MB / 1.167 GB, free: 0.8398 MB / 0.92 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/jenkins/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