Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 108 kB / 15.6 MB, free: 132 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.001154/0.001154, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.583/2.583, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5771/0.5784, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1583/0.7367, allocations: 157 MB / 1.171 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02323/0.76, allocations: 21.87 MB / 1.192 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.7616, allocations: 59.69 kB / 1.192 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.7631, allocations: 1.34 MB / 1.193 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.7645, allocations: 0.9847 MB / 1.194 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.7656, allocations: 0.5082 MB / 1.195 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0012/0.7668, allocations: 1.426 MB / 1.196 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007548/0.7675, allocations: 0.7789 MB / 1.197 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006052/0.7681, allocations: 0.6464 MB / 1.198 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.7692, allocations: 1.102 MB / 1.199 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.7693, allocations: 72 kB / 1.199 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.7696, allocations: 116 kB / 1.199 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.7699, allocations: 380.5 kB / 1.199 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004123/0.7703, allocations: 0.5627 MB / 1.2 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.7714, allocations: 1.339 MB / 1.201 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.7714, allocations: 0 / 1.201 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7714, allocations: 0 / 1.201 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.7714, allocations: 0 / 1.201 GB, free: 5.594 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002531/0.774, allocations: 1.683 MB / 1.203 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.774, allocations: 12.03 kB / 1.203 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.7743, allocations: 163 kB / 1.203 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009063/0.7752, allocations: 0.7399 MB / 1.204 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.7753, allocations: 78.67 kB / 1.204 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.199e-05/0.7754, allocations: 52 kB / 1.204 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.7764, allocations: 0.573 MB / 1.204 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.7765, allocations: 3.906 kB / 1.204 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.7765, allocations: 23.94 kB / 1.204 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.7765, allocations: 12 kB / 1.204 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008815/0.7774, allocations: 447.6 kB / 1.205 GB, free: 1.695 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.00341/0.7809, allocations: 3.014 MB / 1.208 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.7819, allocations: 0.4917 MB / 1.208 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/0.7824, allocations: 313.4 kB / 1.208 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.7825, allocations: 4.375 kB / 1.208 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005673/0.7831, allocations: 333 kB / 1.209 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=52): time 1.984e-06/0.7831, allocations: 4 kB / 1.209 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=52): time 0.002987/0.7861, allocations: 1.34 MB / 1.21 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.7861, allocations: 67.83 kB / 1.21 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.788, allocations: 2.12 MB / 1.212 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.7881, allocations: 41.69 kB / 1.212 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/0.7886, allocations: 0.6284 MB / 1.213 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.7887, allocations: 161.7 kB / 1.213 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.7888, allocations: 106.3 kB / 1.213 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7889, allocations: 334 kB / 1.213 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.7894, allocations: 229.2 kB / 1.214 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/0.79, allocations: 345.9 kB / 1.214 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000942/0.7909, allocations: 0.5485 MB / 1.215 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.791, allocations: 3.938 kB / 1.215 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00169/0.7927, allocations: 0.9119 MB / 1.215 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.7927, allocations: 4 kB / 1.215 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.7927, allocations: 4.094 kB / 1.215 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/0.7932, allocations: 196.8 kB / 1.216 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.7936, allocations: 111.8 kB / 1.216 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003428/0.797, allocations: 3.055 MB / 1.219 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.7975, allocations: 76.09 kB / 1.219 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.7975, allocations: 24 kB / 1.219 GB, free: 2.656 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,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 (57): * Single equations (assignments): 56 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005378/0.7981, allocations: 441.8 kB / 1.219 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.7982, allocations: 134.2 kB / 1.219 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.7984, allocations: 170 kB / 1.22 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.7985, allocations: 15.88 kB / 1.22 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.7985, allocations: 4 kB / 1.22 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.7985, allocations: 7.969 kB / 1.22 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.801, allocations: 1.73 MB / 1.221 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.801, allocations: 0 / 1.221 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.8013, allocations: 51.89 kB / 1.221 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004789/0.8018, allocations: 197.6 kB / 1.221 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.8018, allocations: 15.98 kB / 1.222 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004124/0.806, allocations: 4.613 MB / 1.226 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.806, allocations: 0 / 1.226 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.808, allocations: 1.165 MB / 1.227 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002784/0.8083, allocations: 235.3 kB / 1.227 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.8084, allocations: 15.98 kB / 1.227 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.8087, allocations: 31.97 kB / 1.227 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.8088, allocations: 52.36 kB / 1.227 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.8089, allocations: 19.98 kB / 1.227 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001483/0.8104, allocations: 1.549 MB / 1.229 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8104, allocations: 8 kB / 1.229 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000754/0.8111, allocations: 215.6 kB / 1.229 GB, free: 7.609 MB / 0.9825 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.001063/0.8122, allocations: 0.4894 MB / 1.23 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.8139, allocations: 0.8 MB / 1.23 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.8139, allocations: 0 / 1.23 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008844/0.8148, allocations: 0.5859 MB / 1.231 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.8158, allocations: 227.4 kB / 1.231 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.8194, allocations: 2.802 MB / 1.234 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/0.8202, allocations: 1.243 MB / 1.235 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002823/0.8205, allocations: 105.1 kB / 1.235 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.8206, allocations: 55.42 kB / 1.235 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8206, allocations: 0 / 1.235 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of Templates: time 0.01889/0.8395, allocations: 11.46 MB / 1.247 GB, free: 6.086 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches