Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 104.1 kB / 15.88 MB, free: 4 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.001923/0.001923, allocations: 196.3 kB / 16.79 MB, free: 6.832 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 / 240.5 MB, free: 4.613 MB / 190.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.508/2.508, allocations: 437 MB / 0.7106 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 0.8692 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6412/0.6426, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1579/0.8006, allocations: 154.5 MB / 1.168 GB, free: 7.766 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02533/0.826, allocations: 21.61 MB / 1.189 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.8283, allocations: 47.69 kB / 1.189 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.8301, allocations: 1.134 MB / 1.19 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.8318, allocations: 0.806 MB / 1.191 GB, free: 100 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.8333, allocations: 387.1 kB / 1.192 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001823/0.8351, allocations: 1.345 MB / 1.193 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.8362, allocations: 0.6022 MB / 1.193 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000998/0.8372, allocations: 0.5021 MB / 1.194 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.8385, allocations: 0.902 MB / 1.195 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.8387, allocations: 36 kB / 1.195 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.8391, allocations: 83.98 kB / 1.195 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003488/0.8394, allocations: 316.7 kB / 1.195 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005869/0.84, allocations: 456.8 kB / 1.196 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009951/0.841, allocations: 0.916 MB / 1.197 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8411, allocations: 0 / 1.197 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8411, allocations: 0 / 1.197 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.162e-05/0.8411, allocations: 4 kB / 1.197 GB, free: 10.57 MB / 0.9512 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.002559/0.8437, allocations: 1.475 MB / 1.198 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.8437, allocations: 15.97 kB / 1.198 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.844, allocations: 135.3 kB / 1.198 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008759/0.8448, allocations: 0.6589 MB / 1.199 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.845, allocations: 66.69 kB / 1.199 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.332e-05/0.8451, allocations: 48 kB / 1.199 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.8461, allocations: 0.5223 MB / 1.199 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.8461, allocations: 3.984 kB / 1.199 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/0.8462, allocations: 16 kB / 1.199 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.8462, allocations: 12 kB / 1.199 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008614/0.8471, allocations: 419.7 kB / 1.2 GB, free: 7.082 MB / 0.9512 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.003675/0.8508, allocations: 2.731 MB / 1.203 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009781/0.8518, allocations: 444.4 kB / 1.203 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006339/0.8524, allocations: 311.2 kB / 1.203 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.633e-05/0.8525, allocations: 8.641 kB / 1.203 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005559/0.853, allocations: 287 kB / 1.204 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 3.106e-06/0.853, allocations: 0 / 1.204 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.002704/0.8557, allocations: 1.137 MB / 1.205 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.8558, allocations: 63.33 kB / 1.205 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.8578, allocations: 1.764 MB / 1.206 GB, free: 32 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.8579, allocations: 37.75 kB / 1.206 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.8583, allocations: 0.5287 MB / 1.207 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.8585, allocations: 150 kB / 1.207 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.8586, allocations: 98.25 kB / 1.207 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.8588, allocations: 330 kB / 1.208 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.8592, allocations: 209 kB / 1.208 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/0.8598, allocations: 339.2 kB / 1.208 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008898/0.8607, allocations: 0.515 MB / 1.209 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.8607, allocations: 7.938 kB / 1.209 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001599/0.8623, allocations: 0.8066 MB / 1.209 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.8623, allocations: 10.19 kB / 1.209 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.8623, allocations: 4 kB / 1.209 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004395/0.8628, allocations: 136.9 kB / 1.209 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.8632, allocations: 107.8 kB / 1.21 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.866, allocations: 2.388 MB / 1.212 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.8665, allocations: 75.48 kB / 1.212 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.8665, allocations: 24 kB / 1.212 GB, free: 10.04 MB / 0.9669 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.0005072/0.867, allocations: 379.4 kB / 1.212 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.8672, allocations: 122.5 kB / 1.212 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.8675, allocations: 135.7 kB / 1.213 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.8675, allocations: 4 kB / 1.213 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.8675, allocations: 7.938 kB / 1.213 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.8675, allocations: 7.922 kB / 1.213 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.8699, allocations: 1.492 MB / 1.214 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.87, allocations: 0 / 1.214 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.8702, allocations: 47.91 kB / 1.214 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004181/0.8706, allocations: 166.8 kB / 1.214 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.8707, allocations: 11.98 kB / 1.214 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003519/0.8742, allocations: 3.697 MB / 1.218 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8742, allocations: 0 / 1.218 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.8759, allocations: 0.9911 MB / 1.219 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.8762, allocations: 203.6 kB / 1.219 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.8763, allocations: 19.94 kB / 1.219 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.8767, allocations: 43.8 kB / 1.219 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.8768, allocations: 51.92 kB / 1.219 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.8769, allocations: 12 kB / 1.219 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001344/0.8782, allocations: 1.285 MB / 1.22 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8782, allocations: 4 kB / 1.22 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007688/0.879, allocations: 203.7 kB / 1.221 GB, free: 0.7891 MB / 0.9669 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.001141/0.8802, allocations: 487.9 kB / 1.221 GB, free: 500 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.8816, allocations: 0.6587 MB / 1.222 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.8816, allocations: 0 / 1.222 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007943/0.8824, allocations: 0.521 MB / 1.222 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.8834, allocations: 185.5 kB / 1.222 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/0.8872, allocations: 2.758 MB / 1.225 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007447/0.888, allocations: 1.142 MB / 1.226 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.8882, allocations: 47.42 kB / 1.226 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.8882, allocations: 4 kB / 1.226 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of Templates: time 0.02598/0.9141, allocations: 17.79 MB / 1.244 GB, free: 9.324 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches