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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008046/0.008047, allocations: 103.3 kB / 15.73 MB, free: 6 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.001648/0.001648, allocations: 193.9 kB / 16.68 MB, free: 5.922 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.559/2.559, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 64.12 kB / 1.054 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.743/0.7443, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1616/0.906, allocations: 156.7 MB / 1.361 GB, free: 296 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02522/0.9312, allocations: 21.75 MB / 1.382 GB, free: 10.47 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.9332, allocations: 47.75 kB / 1.382 GB, free: 10.42 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.9348, allocations: 1.169 MB / 1.383 GB, free: 9.25 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.9364, allocations: 0.8485 MB / 1.384 GB, free: 8.398 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.9376, allocations: 452.1 kB / 1.384 GB, free: 7.957 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001478/0.9391, allocations: 1.247 MB / 1.386 GB, free: 6.707 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008399/0.9399, allocations: 0.683 MB / 1.386 GB, free: 6.023 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007093/0.9407, allocations: 0.5608 MB / 1.387 GB, free: 5.461 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009866/0.9417, allocations: 0.9175 MB / 1.388 GB, free: 4.543 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-05/0.9418, allocations: 64 kB / 1.388 GB, free: 4.48 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.942, allocations: 111.9 kB / 1.388 GB, free: 4.371 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002459/0.9423, allocations: 320.7 kB / 1.388 GB, free: 4.059 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003926/0.9427, allocations: 488.8 kB / 1.389 GB, free: 3.578 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.9438, allocations: 1.193 MB / 1.39 GB, free: 2.383 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.9438, allocations: 7.922 kB / 1.39 GB, free: 2.375 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9438, allocations: 0 / 1.39 GB, free: 2.375 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.9438, allocations: 0 / 1.39 GB, free: 2.375 MB / 1.107 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.002268/0.9461, allocations: 1.482 MB / 1.391 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.9462, allocations: 8.031 kB / 1.391 GB, free: 0.832 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.9463, allocations: 135.2 kB / 1.391 GB, free: 0.6992 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009287/0.9473, allocations: 0.659 MB / 1.392 GB, free: 15.98 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.9474, allocations: 78.62 kB / 1.392 GB, free: 15.9 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-05/0.9475, allocations: 51.98 kB / 1.392 GB, free: 15.85 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009262/0.9484, allocations: 0.5222 MB / 1.393 GB, free: 15.32 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.9485, allocations: 0 / 1.393 GB, free: 15.32 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.9485, allocations: 16 kB / 1.393 GB, free: 15.3 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.9485, allocations: 8 kB / 1.393 GB, free: 15.29 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008342/0.9494, allocations: 419.7 kB / 1.393 GB, free: 14.88 MB / 1.123 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.003501/0.9529, allocations: 2.716 MB / 1.396 GB, free: 11.93 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009887/0.9539, allocations: 447.5 kB / 1.396 GB, free: 11.48 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006924/0.9546, allocations: 309.2 kB / 1.397 GB, free: 11.18 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.9547, allocations: 12.67 kB / 1.397 GB, free: 11.16 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005405/0.9552, allocations: 275.7 kB / 1.397 GB, free: 10.88 MB / 1.123 GB Notification: Performance of pre-optimization done (n=44): time 2.064e-06/0.9552, allocations: 4 kB / 1.397 GB, free: 10.88 MB / 1.123 GB Notification: Performance of matching and sorting (n=44): time 0.00276/0.958, allocations: 1.151 MB / 1.398 GB, free: 9.676 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.958, allocations: 67.34 kB / 1.398 GB, free: 9.598 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.9599, allocations: 1.76 MB / 1.4 GB, free: 7.828 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.96, allocations: 37.7 kB / 1.4 GB, free: 7.785 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/0.9604, allocations: 0.525 MB / 1.4 GB, free: 7.254 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.9605, allocations: 146 kB / 1.4 GB, free: 7.109 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.9607, allocations: 98.25 kB / 1.401 GB, free: 7.008 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.9608, allocations: 330 kB / 1.401 GB, free: 6.68 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/0.9613, allocations: 205 kB / 1.401 GB, free: 6.48 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005643/0.9618, allocations: 343.2 kB / 1.401 GB, free: 6.098 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009337/0.9628, allocations: 0.5213 MB / 1.402 GB, free: 5.531 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.9628, allocations: 3.938 kB / 1.402 GB, free: 5.527 MB / 1.123 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00161/0.9644, allocations: 0.8088 MB / 1.403 GB, free: 4.707 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.9644, allocations: 8 kB / 1.403 GB, free: 4.699 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.9645, allocations: 4 kB / 1.403 GB, free: 4.695 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000463/0.9649, allocations: 132.9 kB / 1.403 GB, free: 4.562 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.9653, allocations: 111.8 kB / 1.403 GB, free: 4.453 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/0.9681, allocations: 2.593 MB / 1.405 GB, free: 1.73 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.9686, allocations: 83.45 kB / 1.406 GB, free: 1.648 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.9687, allocations: 20 kB / 1.406 GB, free: 1.629 MB / 1.123 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.0004993/0.9692, allocations: 379.4 kB / 1.406 GB, free: 1.25 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.9693, allocations: 114.5 kB / 1.406 GB, free: 1.137 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.9695, allocations: 147.7 kB / 1.406 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.9696, allocations: 4 kB / 1.406 GB, free: 0.9844 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.9696, allocations: 4 kB / 1.406 GB, free: 0.9805 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.9696, allocations: 7.875 kB / 1.406 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.9719, allocations: 1.49 MB / 1.408 GB, free: 15.43 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.9719, allocations: 0 / 1.408 GB, free: 15.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.9722, allocations: 51.89 kB / 1.408 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000397/0.9726, allocations: 157.6 kB / 1.408 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.9726, allocations: 15.98 kB / 1.408 GB, free: 15.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003522/0.9762, allocations: 4.029 MB / 1.412 GB, free: 10.89 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9762, allocations: 0 / 1.412 GB, free: 10.89 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.9779, allocations: 0.9809 MB / 1.413 GB, free: 9.891 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.9782, allocations: 223.5 kB / 1.413 GB, free: 9.652 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.9783, allocations: 8 kB / 1.413 GB, free: 9.645 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.9787, allocations: 35.97 kB / 1.413 GB, free: 9.609 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.9788, allocations: 51.86 kB / 1.413 GB, free: 9.559 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.9788, allocations: 19.94 kB / 1.413 GB, free: 9.539 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001303/0.9801, allocations: 1.289 MB / 1.414 GB, free: 8.246 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9802, allocations: 0 / 1.414 GB, free: 8.246 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007103/0.9809, allocations: 195.8 kB / 1.415 GB, free: 8.055 MB / 1.139 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.001071/0.9819, allocations: 484.3 kB / 1.415 GB, free: 7.758 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.9833, allocations: 0.6516 MB / 1.416 GB, free: 7.094 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.9834, allocations: 4.125 kB / 1.416 GB, free: 7.09 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008004/0.9842, allocations: 0.5319 MB / 1.416 GB, free: 6.531 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009691/0.9851, allocations: 207.5 kB / 1.416 GB, free: 6.336 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.9885, allocations: 2.357 MB / 1.419 GB, free: 3.945 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006884/0.9892, allocations: 1.149 MB / 1.42 GB, free: 2.77 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002795/0.9895, allocations: 96.77 kB / 1.42 GB, free: 2.676 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.9896, allocations: 43.44 kB / 1.42 GB, free: 2.633 MB / 1.139 GB Notification: Performance of SimCode: time 7.81e-07/0.9896, allocations: 0 / 1.42 GB, free: 2.633 MB / 1.139 GB Notification: Performance of Templates: time 0.01963/1.009, allocations: 10.38 MB / 1.43 GB, free: 8.367 MB / 1.154 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches