Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009818/0.0009818, allocations: 91.53 kB / 16.02 MB, free: 80 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.00116/0.00116, allocations: 181.2 kB / 16.92 MB, free: 6.652 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.327/1.327, allocations: 223.3 MB / 241 MB, free: 5.309 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.521/2.521, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003653, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6112/0.6116, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1559/0.7676, allocations: 152.4 MB / 1.172 GB, free: 6.91 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02554/0.7931, allocations: 21.39 MB / 1.193 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.7954, allocations: 43.75 kB / 1.193 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.7973, allocations: 1.122 MB / 1.195 GB, free: 288 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.7992, allocations: 0.8138 MB / 1.195 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.8007, allocations: 382.8 kB / 1.196 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001955/0.8026, allocations: 1.348 MB / 1.197 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.8038, allocations: 0.5866 MB / 1.198 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.8048, allocations: 478.2 kB / 1.198 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.806, allocations: 0.8864 MB / 1.199 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.469e-05/0.8061, allocations: 28 kB / 1.199 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.8064, allocations: 71.98 kB / 1.199 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002726/0.8067, allocations: 296.8 kB / 1.199 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004695/0.8071, allocations: 470.5 kB / 1.2 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000873/0.808, allocations: 0.9002 MB / 1.201 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.808, allocations: 4 kB / 1.201 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.023e-06/0.808, allocations: 0 / 1.201 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.8081, allocations: 0 / 1.201 GB, free: 10.04 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.002171/0.8102, allocations: 1.32 MB / 1.202 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.8103, allocations: 8.031 kB / 1.202 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.8105, allocations: 131.3 kB / 1.202 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008766/0.8113, allocations: 0.6511 MB / 1.203 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.8115, allocations: 86.62 kB / 1.203 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/0.8116, allocations: 51.92 kB / 1.203 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.8127, allocations: 0.5224 MB / 1.203 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.8127, allocations: 7.938 kB / 1.203 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.8127, allocations: 20 kB / 1.203 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.8128, allocations: 8 kB / 1.203 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008829/0.8137, allocations: 427.7 kB / 1.204 GB, free: 6.691 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.004365/0.818, allocations: 2.858 MB / 1.207 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.8192, allocations: 475.3 kB / 1.207 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.8199, allocations: 292.9 kB / 1.207 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-05/0.8199, allocations: 4.328 kB / 1.207 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006403/0.8206, allocations: 322.3 kB / 1.208 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 4.308e-06/0.8206, allocations: 0 / 1.208 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.003072/0.8237, allocations: 1.276 MB / 1.209 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.8237, allocations: 55.41 kB / 1.209 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.8256, allocations: 1.752 MB / 1.211 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.8257, allocations: 37.7 kB / 1.211 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004367/0.8261, allocations: 0.5179 MB / 1.211 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.8263, allocations: 153.9 kB / 1.211 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.8263, allocations: 53.64 kB / 1.211 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8265, allocations: 330 kB / 1.212 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/0.827, allocations: 241 kB / 1.212 GB, free: 14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.8276, allocations: 340.9 kB / 1.212 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009473/0.8285, allocations: 0.5414 MB / 1.213 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8286, allocations: 4 kB / 1.213 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001713/0.8303, allocations: 0.8741 MB / 1.214 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.8303, allocations: 12.12 kB / 1.214 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.8303, allocations: 7.922 kB / 1.214 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005448/0.8309, allocations: 182.9 kB / 1.214 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.8312, allocations: 111.9 kB / 1.214 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003372/0.8346, allocations: 2.757 MB / 1.217 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.8351, allocations: 95.45 kB / 1.217 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.8352, allocations: 20 kB / 1.217 GB, free: 8.855 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: 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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005269/0.8357, allocations: 379.9 kB / 1.217 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.8358, allocations: 110.6 kB / 1.217 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.8361, allocations: 143.6 kB / 1.217 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.8361, allocations: 4 kB / 1.217 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.8361, allocations: 4 kB / 1.217 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.8361, allocations: 7.984 kB / 1.217 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.8386, allocations: 1.594 MB / 1.219 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.8386, allocations: 0 / 1.219 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.8389, allocations: 59.83 kB / 1.219 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004592/0.8393, allocations: 189.6 kB / 1.219 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.8394, allocations: 15.98 kB / 1.219 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004219/0.8436, allocations: 4.119 MB / 1.223 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8436, allocations: 4.062 kB / 1.223 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.8457, allocations: 1.092 MB / 1.224 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.846, allocations: 227.5 kB / 1.224 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.52e-05/0.8461, allocations: 12 kB / 1.224 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.8464, allocations: 39.97 kB / 1.224 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.8466, allocations: 59.84 kB / 1.225 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.8467, allocations: 8 kB / 1.225 GB, free: 428 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001494/0.8482, allocations: 1.284 MB / 1.226 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8482, allocations: 0 / 1.226 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008782/0.849, allocations: 211.7 kB / 1.226 GB, free: 14.92 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: 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,13,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.001249/0.8503, allocations: 484.7 kB / 1.226 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.852, allocations: 0.7544 MB / 1.227 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.852, allocations: 4 kB / 1.227 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009063/0.8529, allocations: 0.5634 MB / 1.228 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.854, allocations: 185.5 kB / 1.228 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.8578, allocations: 2.836 MB / 1.231 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007676/0.8586, allocations: 1.142 MB / 1.232 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.8587, allocations: 47.42 kB / 1.232 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/0.8588, allocations: 0 / 1.232 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of Templates: time 0.02718/0.8859, allocations: 17.62 MB / 1.249 GB, free: 7.426 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches