Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 110.3 kB / 16.41 MB, free: 6.484 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.001362/0.001362, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.405/2.405, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001919, allocations: 72.11 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6946/0.6965, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1716/0.8682, allocations: 156.8 MB / 1.32 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02501/0.8932, allocations: 21.74 MB / 1.342 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.8949, allocations: 55.69 kB / 1.342 GB, free: 0.625 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.8968, allocations: 1.169 MB / 1.343 GB, free: 15.45 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.8984, allocations: 0.8679 MB / 1.344 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.8997, allocations: 441.1 kB / 1.344 GB, free: 14.15 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.9014, allocations: 1.263 MB / 1.345 GB, free: 12.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.9024, allocations: 0.683 MB / 1.346 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00092/0.9034, allocations: 0.5529 MB / 1.347 GB, free: 11.64 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.9046, allocations: 0.9177 MB / 1.347 GB, free: 10.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.9048, allocations: 64 kB / 1.347 GB, free: 10.66 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.9051, allocations: 112 kB / 1.348 GB, free: 10.55 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003168/0.9054, allocations: 320.7 kB / 1.348 GB, free: 10.24 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005566/0.906, allocations: 488.8 kB / 1.348 GB, free: 9.758 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.9075, allocations: 1.218 MB / 1.35 GB, free: 8.539 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.9075, allocations: 0 / 1.35 GB, free: 8.539 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9075, allocations: 0 / 1.35 GB, free: 8.539 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.994e-05/0.9075, allocations: 0 / 1.35 GB, free: 8.539 MB / 1.076 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.002622/0.9102, allocations: 1.523 MB / 1.351 GB, free: 6.965 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.9102, allocations: 8.625 kB / 1.351 GB, free: 6.957 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.9104, allocations: 140 kB / 1.351 GB, free: 6.82 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008995/0.9113, allocations: 0.6756 MB / 1.352 GB, free: 6.094 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.9115, allocations: 78.62 kB / 1.352 GB, free: 6.008 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.433e-05/0.9116, allocations: 51.98 kB / 1.352 GB, free: 5.957 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009051/0.9125, allocations: 0.5184 MB / 1.352 GB, free: 5.426 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.9125, allocations: 0 / 1.352 GB, free: 5.426 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.9125, allocations: 16 kB / 1.352 GB, free: 5.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.9126, allocations: 12 kB / 1.352 GB, free: 5.398 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008111/0.9134, allocations: 411.7 kB / 1.353 GB, free: 4.996 MB / 1.076 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.003717/0.9171, allocations: 2.804 MB / 1.356 GB, free: 1.945 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.9181, allocations: 456.2 kB / 1.356 GB, free: 1.492 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005573/0.9187, allocations: 287.5 kB / 1.356 GB, free: 1.211 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.9187, allocations: 4.328 kB / 1.356 GB, free: 1.207 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005538/0.9193, allocations: 298.7 kB / 1.357 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 2.504e-06/0.9193, allocations: 0 / 1.357 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.002903/0.9222, allocations: 1.253 MB / 1.358 GB, free: 15.6 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.9223, allocations: 59.39 kB / 1.358 GB, free: 15.53 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.9242, allocations: 1.748 MB / 1.36 GB, free: 13.77 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.9242, allocations: 37.7 kB / 1.36 GB, free: 13.73 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.9247, allocations: 0.526 MB / 1.36 GB, free: 13.2 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.9249, allocations: 154.7 kB / 1.36 GB, free: 13.05 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.925, allocations: 98.25 kB / 1.36 GB, free: 12.95 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.9252, allocations: 326 kB / 1.361 GB, free: 12.62 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.9257, allocations: 217 kB / 1.361 GB, free: 12.41 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.9262, allocations: 332.8 kB / 1.361 GB, free: 12.05 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009122/0.9271, allocations: 0.5126 MB / 1.362 GB, free: 11.5 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.9271, allocations: 0 / 1.362 GB, free: 11.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001618/0.9288, allocations: 0.8518 MB / 1.363 GB, free: 10.64 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.9288, allocations: 8 kB / 1.363 GB, free: 10.63 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.9288, allocations: 0 / 1.363 GB, free: 10.63 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005158/0.9293, allocations: 191.3 kB / 1.363 GB, free: 10.44 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.9297, allocations: 91.81 kB / 1.363 GB, free: 10.35 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/0.9333, allocations: 3.003 MB / 1.366 GB, free: 7.215 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.9338, allocations: 71.62 kB / 1.366 GB, free: 7.145 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.9338, allocations: 24.5 kB / 1.366 GB, free: 7.121 MB / 1.092 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.0005004/0.9344, allocations: 395.2 kB / 1.366 GB, free: 6.727 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.9345, allocations: 131.1 kB / 1.366 GB, free: 6.598 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.9348, allocations: 135.7 kB / 1.366 GB, free: 6.457 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.9348, allocations: 7.938 kB / 1.367 GB, free: 6.449 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.9348, allocations: 4 kB / 1.367 GB, free: 6.445 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.9348, allocations: 3.984 kB / 1.367 GB, free: 6.441 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/0.9374, allocations: 1.564 MB / 1.368 GB, free: 4.82 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.9374, allocations: 3.984 kB / 1.368 GB, free: 4.816 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.9376, allocations: 51.91 kB / 1.368 GB, free: 4.766 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004846/0.9381, allocations: 189.5 kB / 1.368 GB, free: 4.574 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.9382, allocations: 15.98 kB / 1.368 GB, free: 4.559 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004682/0.9428, allocations: 4.542 MB / 1.373 GB, free: 15.75 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9429, allocations: 0 / 1.373 GB, free: 15.75 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.9448, allocations: 1.067 MB / 1.374 GB, free: 14.66 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.9451, allocations: 224.1 kB / 1.374 GB, free: 14.42 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.9452, allocations: 12 kB / 1.374 GB, free: 14.41 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.9456, allocations: 27.97 kB / 1.374 GB, free: 14.38 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.9457, allocations: 59.92 kB / 1.374 GB, free: 14.32 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.9458, allocations: 15.98 kB / 1.374 GB, free: 14.3 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001506/0.9473, allocations: 1.277 MB / 1.375 GB, free: 13.02 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9473, allocations: 0 / 1.375 GB, free: 13.02 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007798/0.9481, allocations: 203.8 kB / 1.376 GB, free: 12.82 MB / 1.107 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.001687/0.9498, allocations: 496.8 kB / 1.376 GB, free: 12.52 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.9513, allocations: 0.7274 MB / 1.377 GB, free: 11.78 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9513, allocations: 0 / 1.377 GB, free: 11.78 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009074/0.9522, allocations: 0.5519 MB / 1.377 GB, free: 11.2 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009356/0.9532, allocations: 190 kB / 1.377 GB, free: 11.02 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.957, allocations: 2.411 MB / 1.38 GB, free: 8.578 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008862/0.9579, allocations: 1.153 MB / 1.381 GB, free: 7.398 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000266/0.9581, allocations: 92.77 kB / 1.381 GB, free: 7.305 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.9583, allocations: 47.42 kB / 1.381 GB, free: 7.258 MB / 1.107 GB Notification: Performance of SimCode: time 3.41e-07/0.9583, allocations: 0 / 1.381 GB, free: 7.258 MB / 1.107 GB Notification: Performance of Templates: time 0.02047/0.9787, allocations: 10.61 MB / 1.391 GB, free: 12.75 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches