Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008788/0.0008789, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005679/0.005679, allocations: 172.5 kB / 16.27 MB, free: 6.648 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.489/1.489, allocations: 223.3 MB / 240.3 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.923/2.923, allocations: 470.6 MB / 0.7442 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003457, allocations: 11.08 kB / 0.9123 GB, free: 34.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3406, allocations: 161.4 MB / 1.07 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1816/0.5222, allocations: 152.7 MB / 1.219 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02713/0.5494, allocations: 21.5 MB / 1.24 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.5512, allocations: 47.69 kB / 1.24 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.5533, allocations: 1.317 MB / 1.241 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.5552, allocations: 0.9189 MB / 1.242 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.5567, allocations: 451.5 kB / 1.243 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002095/0.5588, allocations: 1.52 MB / 1.244 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.5601, allocations: 0.6787 MB / 1.245 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000906/0.561, allocations: 0.5527 MB / 1.245 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.5623, allocations: 1.066 MB / 1.246 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.5624, allocations: 32 kB / 1.246 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.5626, allocations: 71.98 kB / 1.246 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.563, allocations: 352.5 kB / 1.247 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005074/0.5635, allocations: 0.537 MB / 1.247 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.5647, allocations: 1.28 MB / 1.249 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.5647, allocations: 0 / 1.249 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5647, allocations: 0 / 1.249 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.5647, allocations: 3.938 kB / 1.249 GB, free: 3.738 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002471/0.5672, allocations: 1.489 MB / 1.25 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.5673, allocations: 8.031 kB / 1.25 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002625/0.5675, allocations: 159 kB / 1.25 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009698/0.5685, allocations: 0.7516 MB / 1.251 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.5687, allocations: 78.69 kB / 1.251 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.664e-05/0.5688, allocations: 55.94 kB / 1.251 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.5699, allocations: 0.5809 MB / 1.252 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.5699, allocations: 0 / 1.252 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.57, allocations: 24 kB / 1.252 GB, free: 484 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.57, allocations: 12 kB / 1.252 GB, free: 472 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009616/0.571, allocations: 467.7 kB / 1.252 GB, free: 8 kB / 0.9981 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.6106/1.182, allocations: 3.058 MB / 1.255 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/1.183, allocations: 0.5094 MB / 1.256 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006877/1.184, allocations: 328 kB / 1.256 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/1.184, allocations: 7.812 kB / 1.256 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007032/1.184, allocations: 339.2 kB / 1.256 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.836e-06/1.184, allocations: 1.094 kB / 1.256 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.003444/1.188, allocations: 1.392 MB / 1.258 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/1.188, allocations: 62.31 kB / 1.258 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/1.19, allocations: 2.117 MB / 1.26 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/1.19, allocations: 42.95 kB / 1.26 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/1.191, allocations: 0.6249 MB / 1.26 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/1.191, allocations: 165.9 kB / 1.261 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/1.191, allocations: 55.28 kB / 1.261 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.442e-05/1.191, allocations: 334.9 kB / 1.261 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/1.192, allocations: 251.2 kB / 1.261 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/1.192, allocations: 371 kB / 1.261 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009169/1.193, allocations: 0.5717 MB / 1.262 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.193, allocations: 3.938 kB / 1.262 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001765/1.195, allocations: 0.9518 MB / 1.263 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.195, allocations: 10.31 kB / 1.263 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.195, allocations: 6.562 kB / 1.263 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005198/1.195, allocations: 192.8 kB / 1.263 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/1.196, allocations: 119.8 kB / 1.263 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003269/1.199, allocations: 2.805 MB / 1.266 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/1.2, allocations: 93.84 kB / 1.266 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/1.2, allocations: 23.11 kB / 1.266 GB, free: 182.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006032/1.201, allocations: 435.3 kB / 1.267 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/1.201, allocations: 138.2 kB / 1.267 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/1.201, allocations: 166.6 kB / 1.267 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.201, allocations: 10.56 kB / 1.267 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/1.201, allocations: 7.156 kB / 1.267 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/1.201, allocations: 2.484 kB / 1.267 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/1.204, allocations: 1.762 MB / 1.269 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.204, allocations: 0 / 1.269 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/1.204, allocations: 57.56 kB / 1.269 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004854/1.204, allocations: 197.2 kB / 1.269 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/1.205, allocations: 17.75 kB / 1.269 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003996/1.209, allocations: 4.191 MB / 1.273 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.209, allocations: 0.7969 kB / 1.273 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/1.211, allocations: 1.193 MB / 1.274 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/1.211, allocations: 247.9 kB / 1.274 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/1.211, allocations: 14.39 kB / 1.274 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/1.212, allocations: 48.36 kB / 1.274 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/1.212, allocations: 60.16 kB / 1.274 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/1.212, allocations: 24.58 kB / 1.274 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002072/1.214, allocations: 1.544 MB / 1.276 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.214, allocations: 0 / 1.276 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001181/1.215, allocations: 225.7 kB / 1.276 GB, free: 176.2 MB / 0.9981 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.001908/1.217, allocations: 495.5 kB / 1.277 GB, free: 176 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002006/1.219, allocations: 0.7906 MB / 1.277 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.219, allocations: 0 / 1.277 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/1.22, allocations: 0.5902 MB / 1.278 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/1.222, allocations: 212.2 kB / 1.278 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/1.227, allocations: 3.243 MB / 1.281 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/1.228, allocations: 1.245 MB / 1.283 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004419/1.229, allocations: 102.2 kB / 1.283 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/1.229, allocations: 51.16 kB / 1.283 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/1.229, allocations: 1.094 kB / 1.283 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02508/1.254, allocations: 10.55 MB / 1.293 GB, free: 169.5 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches