Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 117.3 kB / 16.37 MB, free: 6.016 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.001155/0.001155, allocations: 189.7 kB / 17.3 MB, free: 5.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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.389/2.389, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.06 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2455, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.5683/0.8138, allocations: 156.8 MB / 1.172 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02303/0.8368, allocations: 21.75 MB / 1.193 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.8386, allocations: 54.59 kB / 1.193 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.8401, allocations: 1.164 MB / 1.194 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.8413, allocations: 0.8553 MB / 1.195 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.8424, allocations: 439.7 kB / 1.196 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.8435, allocations: 1.264 MB / 1.197 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007367/0.8443, allocations: 0.6874 MB / 1.197 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005887/0.8449, allocations: 0.5429 MB / 1.198 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008593/0.8457, allocations: 0.9192 MB / 1.199 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.676e-05/0.8458, allocations: 63.16 kB / 1.199 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.8461, allocations: 116.8 kB / 1.199 GB, free: 11 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.8463, allocations: 317.8 kB / 1.199 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.8467, allocations: 495.6 kB / 1.2 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009465/0.8476, allocations: 1.196 MB / 1.201 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8477, allocations: 0 / 1.201 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8477, allocations: 0 / 1.201 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.8477, allocations: 0 / 1.201 GB, free: 9.613 MB / 0.9044 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.002016/0.8497, allocations: 1.479 MB / 1.202 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.8497, allocations: 11.08 kB / 1.202 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.8499, allocations: 134 kB / 1.203 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008693/0.8508, allocations: 0.6635 MB / 1.203 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.8509, allocations: 74.38 kB / 1.203 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/0.851, allocations: 45.78 kB / 1.203 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008646/0.8519, allocations: 0.519 MB / 1.204 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.8519, allocations: 0 / 1.204 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.852, allocations: 17.28 kB / 1.204 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.852, allocations: 13.47 kB / 1.204 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007741/0.8528, allocations: 419.1 kB / 1.204 GB, free: 7.215 MB / 0.9044 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.003216/0.856, allocations: 2.715 MB / 1.207 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008762/0.8569, allocations: 442 kB / 1.207 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005776/0.8575, allocations: 320.7 kB / 1.208 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.845e-05/0.8575, allocations: 8.938 kB / 1.208 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005041/0.858, allocations: 288.3 kB / 1.208 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.004e-06/0.8581, allocations: 0 / 1.208 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.002493/0.8606, allocations: 1.146 MB / 1.209 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.8606, allocations: 56.22 kB / 1.209 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.8622, allocations: 1.761 MB / 1.211 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.8622, allocations: 36.39 kB / 1.211 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/0.8626, allocations: 0.532 MB / 1.211 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.8627, allocations: 142 kB / 1.212 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.8629, allocations: 98.86 kB / 1.212 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.863, allocations: 333.4 kB / 1.212 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/0.8634, allocations: 204.7 kB / 1.212 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.864, allocations: 343.6 kB / 1.212 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008166/0.8648, allocations: 0.5092 MB / 1.213 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.8648, allocations: 2.656 kB / 1.213 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001406/0.8662, allocations: 0.815 MB / 1.214 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.8662, allocations: 11.47 kB / 1.214 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.8662, allocations: 4.25 kB / 1.214 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003904/0.8666, allocations: 141.8 kB / 1.214 GB, free: 460 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.867, allocations: 99.88 kB / 1.214 GB, free: 360 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/0.8697, allocations: 2.613 MB / 1.217 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.8701, allocations: 71.5 kB / 1.217 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.8702, allocations: 20 kB / 1.217 GB, free: 13.52 MB / 0.92 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 (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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004123/0.8706, allocations: 383.3 kB / 1.217 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.8707, allocations: 122.5 kB / 1.217 GB, free: 13.01 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.8709, allocations: 147.7 kB / 1.217 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.871, allocations: 4 kB / 1.217 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.871, allocations: 4 kB / 1.217 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.871, allocations: 3.984 kB / 1.217 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.8732, allocations: 1.493 MB / 1.219 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.8732, allocations: 0 / 1.219 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.8735, allocations: 43.97 kB / 1.219 GB, free: 11.26 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003835/0.8739, allocations: 173.5 kB / 1.219 GB, free: 11.08 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.8739, allocations: 11.94 kB / 1.219 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003352/0.8773, allocations: 4.021 MB / 1.223 GB, free: 6.773 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8773, allocations: 4.031 kB / 1.223 GB, free: 6.77 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.8789, allocations: 0.9929 MB / 1.224 GB, free: 5.75 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.8792, allocations: 207.6 kB / 1.224 GB, free: 5.527 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-05/0.8793, allocations: 20.17 kB / 1.224 GB, free: 5.508 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.8796, allocations: 31.97 kB / 1.224 GB, free: 5.477 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.8797, allocations: 51.86 kB / 1.224 GB, free: 5.426 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.8798, allocations: 23.97 kB / 1.224 GB, free: 5.402 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001244/0.881, allocations: 1.289 MB / 1.225 GB, free: 4.109 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.881, allocations: 0 / 1.225 GB, free: 4.109 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006611/0.8817, allocations: 195.7 kB / 1.226 GB, free: 3.918 MB / 0.92 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,12,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.001049/0.8828, allocations: 485.4 kB / 1.226 GB, free: 3.629 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.884, allocations: 0.6626 MB / 1.227 GB, free: 2.953 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8841, allocations: 0 / 1.227 GB, free: 2.953 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007636/0.8848, allocations: 0.5205 MB / 1.227 GB, free: 2.406 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009094/0.8858, allocations: 203.1 kB / 1.227 GB, free: 2.215 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.8889, allocations: 2.363 MB / 1.23 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.8896, allocations: 1.149 MB / 1.231 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002472/0.8899, allocations: 96.72 kB / 1.231 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.89, allocations: 47.42 kB / 1.231 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of SimCode: time 7.32e-07/0.89, allocations: 0 / 1.231 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of Templates: time 0.01729/0.9073, allocations: 10.03 MB / 1.241 GB, free: 4.598 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches