Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001118/0.001118, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001257/0.001257, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.574/2.574, allocations: 436.5 MB / 0.7104 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002955/0.0002956, allocations: 8 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5744/0.5747, allocations: 153.7 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.139/0.7138, allocations: 132.5 MB / 1.15 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.7362, allocations: 18.36 MB / 1.168 GB, free: 9.816 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.7378, allocations: 39.75 kB / 1.168 GB, free: 9.777 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.74, allocations: 1.371 MB / 1.17 GB, free: 8.402 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00434/0.7443, allocations: 1.851 MB / 1.171 GB, free: 6.547 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.7472, allocations: 1.05 MB / 1.172 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.7484, allocations: 0.8707 MB / 1.173 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006023/0.749, allocations: 0.4988 MB / 1.174 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005279/0.7496, allocations: 458.5 kB / 1.174 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008119/0.7504, allocations: 0.7013 MB / 1.175 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.042e-05/0.7505, allocations: 32 kB / 1.175 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.7507, allocations: 55.92 kB / 1.175 GB, free: 2.902 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.7509, allocations: 283.1 kB / 1.175 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.7511, allocations: 209 kB / 1.175 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007674/0.7519, allocations: 0.8905 MB / 1.176 GB, free: 1.523 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.7519, allocations: 0 / 1.176 GB, free: 1.523 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7519, allocations: 0 / 1.176 GB, free: 1.523 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.7519, allocations: 0 / 1.176 GB, free: 1.523 MB / 0.92 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.002031/0.7539, allocations: 1.339 MB / 1.178 GB, free: 136 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.754, allocations: 15.92 kB / 1.178 GB, free: 120 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.7542, allocations: 138.6 kB / 1.178 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008634/0.7551, allocations: 0.6051 MB / 1.178 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.7552, allocations: 74.69 kB / 1.178 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.022e-05/0.7553, allocations: 47.78 kB / 1.178 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00093/0.7562, allocations: 0.5224 MB / 1.179 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.7562, allocations: 7.938 kB / 1.179 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.7563, allocations: 16 kB / 1.179 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.7563, allocations: 8 kB / 1.179 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008278/0.7571, allocations: 427.7 kB / 1.179 GB, free: 14.21 MB / 0.9356 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.003535/0.7607, allocations: 2.79 MB / 1.182 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009365/0.7616, allocations: 464.4 kB / 1.183 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.7617, allocations: 4.328 kB / 1.183 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005138/0.7622, allocations: 291.4 kB / 1.183 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 2.544e-06/0.7622, allocations: 0 / 1.183 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.002622/0.7648, allocations: 1.176 MB / 1.184 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.7649, allocations: 55.41 kB / 1.184 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.7667, allocations: 1.764 MB / 1.186 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.072e-05/0.7667, allocations: 37.7 kB / 1.186 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.7672, allocations: 0.5288 MB / 1.186 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.7673, allocations: 149.9 kB / 1.186 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.7673, allocations: 8 kB / 1.186 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.7675, allocations: 330 kB / 1.187 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004934/0.768, allocations: 229 kB / 1.187 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.7685, allocations: 355.1 kB / 1.187 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.769, allocations: 261.5 kB / 1.188 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.7691, allocations: 7.984 kB / 1.188 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001536/0.7706, allocations: 0.8403 MB / 1.188 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.7706, allocations: 8 kB / 1.188 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.7706, allocations: 4 kB / 1.188 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004442/0.7711, allocations: 152.7 kB / 1.189 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.7715, allocations: 112 kB / 1.189 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.7743, allocations: 2.521 MB / 1.191 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.7748, allocations: 95.45 kB / 1.191 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.7748, allocations: 23.98 kB / 1.191 GB, free: 1.527 MB / 0.9356 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 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004563/0.7753, allocations: 406.9 kB / 1.192 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.7754, allocations: 114.5 kB / 1.192 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.7756, allocations: 135.7 kB / 1.192 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.7756, allocations: 8 kB / 1.192 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.7756, allocations: 4 kB / 1.192 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.7756, allocations: 3.984 kB / 1.192 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.7779, allocations: 1.515 MB / 1.193 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7779, allocations: 0 / 1.193 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.7782, allocations: 51.91 kB / 1.193 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003727/0.7786, allocations: 161.6 kB / 1.194 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.7786, allocations: 12 kB / 1.194 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003284/0.7819, allocations: 3.74 MB / 1.197 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7819, allocations: 3.953 kB / 1.197 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.7836, allocations: 1.01 MB / 1.198 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.7839, allocations: 227.5 kB / 1.198 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-05/0.784, allocations: 8 kB / 1.198 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.7843, allocations: 43.97 kB / 1.198 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.7845, allocations: 51.91 kB / 1.199 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.7845, allocations: 15.98 kB / 1.199 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001313/0.7858, allocations: 1.285 MB / 1.2 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7859, allocations: 0 / 1.2 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00078/0.7866, allocations: 207.6 kB / 1.2 GB, free: 8.168 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/0.7877, allocations: 476.8 kB / 1.2 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.7892, allocations: 0.7149 MB / 1.201 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7892, allocations: 0 / 1.201 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007777/0.79, allocations: 0.5369 MB / 1.202 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000849/0.7908, allocations: 186.7 kB / 1.202 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.7943, allocations: 2.629 MB / 1.204 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007499/0.7951, allocations: 1.177 MB / 1.206 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002927/0.7954, allocations: 100.8 kB / 1.206 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.7955, allocations: 43.42 kB / 1.206 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/0.7955, allocations: 0 / 1.206 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of Templates: time 0.01662/0.8121, allocations: 9.042 MB / 1.215 GB, free: 9.48 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches