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.001137/0.001137, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.00821/0.00821, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.404/1.404, allocations: 223.2 MB / 240.3 MB, free: 5.336 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.743/2.743, allocations: 437.8 MB / 0.7121 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.00034, allocations: 8 kB / 0.8728 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.605/0.6053, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1518/0.7572, allocations: 152.6 MB / 1.172 GB, free: 6.574 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02464/0.7819, allocations: 21.51 MB / 1.193 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.7835, allocations: 47.69 kB / 1.193 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.7853, allocations: 1.31 MB / 1.194 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.7871, allocations: 0.9384 MB / 1.195 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.7883, allocations: 452.1 kB / 1.196 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.7899, allocations: 1.52 MB / 1.197 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007847/0.7907, allocations: 0.6841 MB / 1.198 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006598/0.7913, allocations: 0.5488 MB / 1.198 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.7924, allocations: 1.066 MB / 1.199 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.702e-05/0.7925, allocations: 32 kB / 1.2 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.7927, allocations: 79.97 kB / 1.2 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.793, allocations: 348.5 kB / 1.2 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004315/0.7934, allocations: 0.5331 MB / 1.2 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.7945, allocations: 1.288 MB / 1.202 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7945, allocations: 0 / 1.202 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7945, allocations: 0 / 1.202 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.7945, allocations: 0 / 1.202 GB, free: 8.129 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.002143/0.7966, allocations: 1.493 MB / 1.203 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.7967, allocations: 8.031 kB / 1.203 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.7969, allocations: 159 kB / 1.203 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008166/0.7977, allocations: 0.7399 MB / 1.204 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.7979, allocations: 86.69 kB / 1.204 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.88e-05/0.798, allocations: 52 kB / 1.204 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.799, allocations: 0.5808 MB / 1.205 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.799, allocations: 0 / 1.205 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.7991, allocations: 19.98 kB / 1.205 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.7991, allocations: 12 kB / 1.205 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008957/0.8, allocations: 467.7 kB / 1.205 GB, free: 4.402 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.003553/0.8036, allocations: 3.068 MB / 1.208 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.8046, allocations: 0.5079 MB / 1.209 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006318/0.8053, allocations: 328.1 kB / 1.209 GB, free: 228 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.8053, allocations: 4.375 kB / 1.209 GB, free: 224 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006449/0.806, allocations: 341.1 kB / 1.209 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=52): time 2.786e-06/0.806, allocations: 0 / 1.209 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=52): time 0.003304/0.8093, allocations: 1.391 MB / 1.211 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.8094, allocations: 59.78 kB / 1.211 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/0.8115, allocations: 2.112 MB / 1.213 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-05/0.8116, allocations: 45.7 kB / 1.213 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005041/0.8121, allocations: 0.6322 MB / 1.213 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.8123, allocations: 166.3 kB / 1.214 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.89e-05/0.8124, allocations: 57.69 kB / 1.214 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.8125, allocations: 326 kB / 1.214 GB, free: 11 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005847/0.8131, allocations: 257.2 kB / 1.214 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005886/0.8137, allocations: 361.9 kB / 1.215 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.8147, allocations: 0.5802 MB / 1.215 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.8147, allocations: 4 kB / 1.215 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001879/0.8166, allocations: 0.9428 MB / 1.216 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.8167, allocations: 8.094 kB / 1.216 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.8167, allocations: 8 kB / 1.216 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005135/0.8172, allocations: 190.5 kB / 1.216 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.8176, allocations: 119.8 kB / 1.216 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003252/0.8209, allocations: 2.813 MB / 1.219 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005575/0.8214, allocations: 91.55 kB / 1.219 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.8215, allocations: 23.94 kB / 1.219 GB, free: 5.395 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.0005487/0.822, allocations: 445.8 kB / 1.22 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.8222, allocations: 138.2 kB / 1.22 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.8224, allocations: 174 kB / 1.22 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.8224, allocations: 4 kB / 1.22 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.8225, allocations: 4 kB / 1.22 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.8225, allocations: 7.984 kB / 1.22 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.8251, allocations: 1.754 MB / 1.222 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8251, allocations: 0 / 1.222 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.8254, allocations: 55.89 kB / 1.222 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/0.8259, allocations: 205.5 kB / 1.222 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.8259, allocations: 11.98 kB / 1.222 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003935/0.8298, allocations: 4.175 MB / 1.226 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.8299, allocations: 4 kB / 1.226 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.8319, allocations: 1.197 MB / 1.227 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.8322, allocations: 247.2 kB / 1.227 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.8323, allocations: 19.98 kB / 1.227 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.8327, allocations: 43.97 kB / 1.228 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.8328, allocations: 56.34 kB / 1.228 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.8329, allocations: 15.98 kB / 1.228 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001598/0.8345, allocations: 1.552 MB / 1.229 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8345, allocations: 0 / 1.229 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008233/0.8353, allocations: 231.6 kB / 1.229 GB, free: 10.7 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.001108/0.8364, allocations: 494.8 kB / 1.23 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001716/0.8382, allocations: 0.7866 MB / 1.231 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8382, allocations: 64 / 1.231 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009686/0.8392, allocations: 0.5972 MB / 1.231 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.8404, allocations: 207.6 kB / 1.231 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.8448, allocations: 3.246 MB / 1.235 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009324/0.8458, allocations: 1.25 MB / 1.236 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003659/0.8462, allocations: 101 kB / 1.236 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.8463, allocations: 47.42 kB / 1.236 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.8463, allocations: 0 / 1.236 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of Templates: time 0.02109/0.8674, allocations: 10.55 MB / 1.246 GB, free: 9.66 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