Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.TestCase6,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.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_latest_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.006988/0.006988, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001707/0.001707, allocations: 196.2 kB / 16.79 MB, free: 6.254 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.365/1.365, allocations: 222.9 MB / 240.5 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.684/2.684, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.55 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2699, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1528/0.4227, allocations: 154.8 MB / 1.204 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02551/0.4483, allocations: 21.74 MB / 1.225 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002614/0.4509, allocations: 47.75 kB / 1.225 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00209/0.4531, allocations: 1.302 MB / 1.226 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.4551, allocations: 0.9267 MB / 1.227 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.4569, allocations: 454.5 kB / 1.228 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002132/0.459, allocations: 1.524 MB / 1.229 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.4605, allocations: 0.7021 MB / 1.23 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.462, allocations: 0.58 MB / 1.231 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.4635, allocations: 1.101 MB / 1.232 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002361/0.4637, allocations: 44 kB / 1.232 GB, free: 472 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004426/0.4642, allocations: 83.98 kB / 1.232 GB, free: 388 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003898/0.4646, allocations: 364.5 kB / 1.232 GB, free: 24 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007383/0.4653, allocations: 0.5315 MB / 1.233 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.4665, allocations: 1.025 MB / 1.234 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4665, allocations: 0 / 1.234 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4666, allocations: 0 / 1.234 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.232e-05/0.4666, allocations: 0 / 1.234 GB, free: 14.46 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.003448/0.4701, allocations: 1.683 MB / 1.235 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.4702, allocations: 11.97 kB / 1.235 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.4705, allocations: 163 kB / 1.235 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.4717, allocations: 0.7399 MB / 1.236 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.4719, allocations: 74.69 kB / 1.236 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.472, allocations: 59.89 kB / 1.236 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.4732, allocations: 0.5807 MB / 1.237 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.4732, allocations: 0 / 1.237 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.4733, allocations: 20 kB / 1.237 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.4733, allocations: 12 kB / 1.237 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009598/0.4743, allocations: 451.7 kB / 1.237 GB, free: 10.55 MB / 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.004184/0.4785, allocations: 3.017 MB / 1.24 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.4796, allocations: 495.5 kB / 1.241 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005869/0.4802, allocations: 317.4 kB / 1.241 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/0.4802, allocations: 4.375 kB / 1.241 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006199/0.4809, allocations: 329.1 kB / 1.241 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.855e-06/0.4809, allocations: 3.938 kB / 1.241 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.003135/0.484, allocations: 1.348 MB / 1.243 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.4841, allocations: 55.84 kB / 1.243 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/0.4861, allocations: 2.12 MB / 1.245 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.4862, allocations: 37.7 kB / 1.245 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/0.4867, allocations: 0.6207 MB / 1.245 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.4868, allocations: 173.6 kB / 1.246 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.4869, allocations: 102.3 kB / 1.246 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.4871, allocations: 333.9 kB / 1.246 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.4876, allocations: 237.2 kB / 1.246 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.4881, allocations: 345.9 kB / 1.247 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009389/0.489, allocations: 0.549 MB / 1.247 GB, free: 44 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4891, allocations: 0 / 1.247 GB, free: 44 kB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.5906/1.08, allocations: 0.9032 MB / 1.248 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/1.08, allocations: 7.688 kB / 1.248 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.08, allocations: 3.5 kB / 1.248 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005855/1.08, allocations: 194 kB / 1.248 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/1.081, allocations: 108.8 kB / 1.248 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/1.084, allocations: 2.801 MB / 1.251 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/1.084, allocations: 91.58 kB / 1.251 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/1.085, allocations: 19.72 kB / 1.251 GB, free: 194 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.0005569/1.085, allocations: 440.5 kB / 1.251 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/1.085, allocations: 137.8 kB / 1.252 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/1.085, allocations: 168.5 kB / 1.252 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.085, allocations: 5.688 kB / 1.252 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/1.085, allocations: 5.969 kB / 1.252 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.085, allocations: 0 / 1.252 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/1.088, allocations: 1.736 MB / 1.253 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/1.088, allocations: 0 / 1.253 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/1.088, allocations: 50.2 kB / 1.254 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004403/1.088, allocations: 204.2 kB / 1.254 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/1.089, allocations: 15.86 kB / 1.254 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003198/1.092, allocations: 4.181 MB / 1.258 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.092, allocations: 1.484 kB / 1.258 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/1.094, allocations: 1.164 MB / 1.259 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/1.094, allocations: 241.2 kB / 1.259 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.094, allocations: 14.47 kB / 1.259 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/1.094, allocations: 40.66 kB / 1.259 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/1.095, allocations: 57.59 kB / 1.259 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/1.095, allocations: 18.47 kB / 1.259 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001519/1.096, allocations: 1.545 MB / 1.261 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.096, allocations: 0 / 1.261 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008664/1.097, allocations: 237.7 kB / 1.261 GB, free: 190.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.001085/1.098, allocations: 491.1 kB / 1.262 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001567/1.1, allocations: 0.7509 MB / 1.262 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.1, allocations: 0 / 1.262 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008509/1.101, allocations: 0.5826 MB / 1.263 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/1.102, allocations: 214.5 kB / 1.263 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/1.107, allocations: 3.233 MB / 1.266 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009054/1.108, allocations: 1.231 MB / 1.267 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/1.108, allocations: 53.12 kB / 1.267 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.108, allocations: 4 kB / 1.267 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.0356/1.143, allocations: 20.39 MB / 1.287 GB, free: 180 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches