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.001214/0.001214, allocations: 99.52 kB / 16.35 MB, free: 5.828 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.001175/0.001175, allocations: 197.6 kB / 17.3 MB, free: 5.484 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.205/1.205, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.002/2.002, allocations: 390.3 MB / 0.6655 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 61.66 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2328, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.6261/0.859, allocations: 156.7 MB / 1.104 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02482/0.8839, allocations: 21.75 MB / 1.125 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003001/0.8869, allocations: 53.62 kB / 1.125 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.8887, allocations: 1.163 MB / 1.127 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.8904, allocations: 0.858 MB / 1.127 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.8917, allocations: 444.8 kB / 1.128 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00161/0.8933, allocations: 1.256 MB / 1.129 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008347/0.8941, allocations: 0.6909 MB / 1.13 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008503/0.895, allocations: 0.5479 MB / 1.13 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.8962, allocations: 0.918 MB / 1.131 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.8963, allocations: 67.11 kB / 1.131 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.8966, allocations: 110.1 kB / 1.131 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.8969, allocations: 320.2 kB / 1.132 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004109/0.8973, allocations: 492 kB / 1.132 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.8985, allocations: 1.195 MB / 1.133 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8985, allocations: 0 / 1.133 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.345e-06/0.8985, allocations: 2.125 kB / 1.133 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.8985, allocations: 0 / 1.133 GB, free: 6.727 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002345/0.9009, allocations: 1.485 MB / 1.135 GB, free: 21.85 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.9009, allocations: 9.625 kB / 1.135 GB, free: 21.85 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.9011, allocations: 135.3 kB / 1.135 GB, free: 21.78 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008559/0.902, allocations: 0.6579 MB / 1.136 GB, free: 21.4 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.9021, allocations: 69.45 kB / 1.136 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/0.9022, allocations: 53.39 kB / 1.136 GB, free: 21.36 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00091/0.9031, allocations: 0.5179 MB / 1.136 GB, free: 21.29 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.9031, allocations: 2.047 kB / 1.136 GB, free: 21.29 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/0.9032, allocations: 21.23 kB / 1.136 GB, free: 21.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.9032, allocations: 13.53 kB / 1.136 GB, free: 21.29 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007561/0.904, allocations: 415 kB / 1.137 GB, free: 21.29 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.003387/0.9074, allocations: 2.725 MB / 1.139 GB, free: 19.85 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008087/0.9082, allocations: 444.6 kB / 1.14 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005383/0.9087, allocations: 307.7 kB / 1.14 GB, free: 19.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.9088, allocations: 6.453 kB / 1.14 GB, free: 19.81 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/0.9093, allocations: 287.2 kB / 1.14 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 2.234e-06/0.9093, allocations: 2.375 kB / 1.14 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.002476/0.9118, allocations: 1.145 MB / 1.141 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.9118, allocations: 57.12 kB / 1.141 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.9138, allocations: 1.76 MB / 1.143 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/0.9139, allocations: 40.72 kB / 1.143 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.9142, allocations: 0.5274 MB / 1.144 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.904e-05/0.9143, allocations: 139 kB / 1.144 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.9144, allocations: 105.9 kB / 1.144 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.9146, allocations: 325.8 kB / 1.144 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.915, allocations: 213.9 kB / 1.144 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.9155, allocations: 337.9 kB / 1.145 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/0.9162, allocations: 0.5177 MB / 1.145 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9162, allocations: 2 kB / 1.145 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001461/0.9177, allocations: 0.8063 MB / 1.146 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9177, allocations: 11.59 kB / 1.146 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.9178, allocations: 3.844 kB / 1.146 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/0.9181, allocations: 138.8 kB / 1.146 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.9185, allocations: 105.7 kB / 1.146 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.921, allocations: 2.6 MB / 1.149 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.9215, allocations: 76.84 kB / 1.149 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.9216, allocations: 21.5 kB / 1.149 GB, free: 15.33 MB / 0.8731 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.0005722/0.9222, allocations: 390 kB / 1.149 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.9223, allocations: 115.7 kB / 1.149 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.9225, allocations: 142.2 kB / 1.15 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.9225, allocations: 5.25 kB / 1.15 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.9225, allocations: 2.188 kB / 1.15 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.9225, allocations: 5.828 kB / 1.15 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.9247, allocations: 1.491 MB / 1.151 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.9247, allocations: 4.625 kB / 1.151 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.9249, allocations: 45.69 kB / 1.151 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003551/0.9253, allocations: 159.9 kB / 1.151 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.9253, allocations: 16.06 kB / 1.151 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003142/0.9285, allocations: 4.024 MB / 1.155 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9285, allocations: 4.359 kB / 1.155 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.93, allocations: 0.9827 MB / 1.156 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.9303, allocations: 214 kB / 1.156 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.75e-05/0.9304, allocations: 16.84 kB / 1.156 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.9307, allocations: 27.55 kB / 1.156 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.9308, allocations: 59.33 kB / 1.156 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.9309, allocations: 17.59 kB / 1.156 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001311/0.9322, allocations: 1.289 MB / 1.158 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9322, allocations: 0 / 1.158 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007217/0.9329, allocations: 201 kB / 1.158 GB, free: 9.613 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: 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.001015/0.934, allocations: 491.8 kB / 1.158 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001184/0.9352, allocations: 0.6614 MB / 1.159 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.9352, allocations: 1 kB / 1.159 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006682/0.9358, allocations: 0.5261 MB / 1.16 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008294/0.9367, allocations: 197 kB / 1.16 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.9398, allocations: 2.359 MB / 1.162 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006883/0.9405, allocations: 1.15 MB / 1.163 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002637/0.9408, allocations: 92.8 kB / 1.163 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.9409, allocations: 43.34 kB / 1.163 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of SimCode: time 9.82e-07/0.9409, allocations: 4 kB / 1.163 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of Templates: time 0.01612/0.957, allocations: 10.03 MB / 1.173 GB, free: 5.641 MB / 0.8731 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 -s cvode -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