Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.TestCase4,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.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_latest_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.001074/0.001075, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001454/0.001454, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.873/2.873, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.000368, allocations: 10.78 kB / 0.9021 GB, free: 36.79 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3665, allocations: 159.6 MB / 1.058 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1884/0.5549, allocations: 142.2 MB / 1.197 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02425/0.5792, allocations: 20.24 MB / 1.217 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.5808, allocations: 51.69 kB / 1.217 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.5822, allocations: 1.091 MB / 1.218 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.5836, allocations: 0.7903 MB / 1.219 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.5847, allocations: 328.9 kB / 1.219 GB, free: 236 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001395/0.5861, allocations: 1.177 MB / 1.22 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006912/0.5868, allocations: 0.5025 MB / 1.22 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006415/0.5874, allocations: 474.4 kB / 1.221 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009388/0.5884, allocations: 0.7794 MB / 1.222 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.077e-05/0.5885, allocations: 39.86 kB / 1.222 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.5887, allocations: 67.98 kB / 1.222 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.589, allocations: 283 kB / 1.222 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.5892, allocations: 205.1 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008994/0.5901, allocations: 0.8885 MB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.5901, allocations: 4 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.467e-06/0.5901, allocations: 0 / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.5901, allocations: 3.938 kB / 1.223 GB, free: 11.8 MB / 0.9825 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.001988/0.5921, allocations: 1.323 MB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5922, allocations: 16.03 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.5923, allocations: 130.4 kB / 1.225 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007744/0.5931, allocations: 0.605 MB / 1.225 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.5933, allocations: 74.64 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.847e-05/0.5934, allocations: 51.98 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009781/0.5943, allocations: 0.5262 MB / 1.226 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.5944, allocations: 4 kB / 1.226 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.5944, allocations: 20 kB / 1.226 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.5944, allocations: 8 kB / 1.226 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008409/0.5953, allocations: 435.7 kB / 1.226 GB, free: 8.5 MB / 0.9825 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.003525/0.5988, allocations: 2.854 MB / 1.229 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.5998, allocations: 471.8 kB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.6004, allocations: 305.3 kB / 1.23 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/0.6004, allocations: 8.328 kB / 1.23 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005774/0.601, allocations: 302.8 kB / 1.23 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=45): time 2.655e-06/0.601, allocations: 4 kB / 1.23 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.002776/0.6038, allocations: 1.268 MB / 1.231 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.6039, allocations: 63.39 kB / 1.231 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.6058, allocations: 1.744 MB / 1.233 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.6058, allocations: 37.7 kB / 1.233 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004156/0.6063, allocations: 0.5217 MB / 1.234 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.6064, allocations: 142 kB / 1.234 GB, free: 464 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.6064, allocations: 12 kB / 1.234 GB, free: 452 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.6065, allocations: 330 kB / 1.234 GB, free: 116 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.607, allocations: 233 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/0.6076, allocations: 344.9 kB / 1.235 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/0.6081, allocations: 270.5 kB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6081, allocations: 0 / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001561/0.6097, allocations: 0.8736 MB / 1.236 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.6097, allocations: 9.562 kB / 1.236 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.6097, allocations: 7.938 kB / 1.236 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005074/0.6102, allocations: 184.6 kB / 1.236 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.6106, allocations: 104 kB / 1.236 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.6138, allocations: 2.742 MB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.6143, allocations: 95.5 kB / 1.239 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.6144, allocations: 20 kB / 1.239 GB, free: 11.08 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: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005027/0.6149, allocations: 383.3 kB / 1.239 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.615, allocations: 118.5 kB / 1.239 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.6152, allocations: 139.7 kB / 1.239 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6152, allocations: 8 kB / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.6153, allocations: 4 kB / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.6153, allocations: 11.86 kB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.6176, allocations: 1.575 MB / 1.241 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6176, allocations: 0 / 1.241 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.6178, allocations: 51.91 kB / 1.241 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/0.6183, allocations: 203.8 kB / 1.241 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.6184, allocations: 8 kB / 1.241 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004753/0.6231, allocations: 4.124 MB / 1.245 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6232, allocations: 3.938 kB / 1.245 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.6251, allocations: 1.084 MB / 1.246 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.6255, allocations: 219.5 kB / 1.247 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.6256, allocations: 15.98 kB / 1.247 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.6259, allocations: 43.91 kB / 1.247 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.6261, allocations: 55.91 kB / 1.247 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.6261, allocations: 19.98 kB / 1.247 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001454/0.6276, allocations: 1.273 MB / 1.248 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6276, allocations: 0 / 1.248 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008559/0.6285, allocations: 207.8 kB / 1.248 GB, free: 1.176 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001136/0.6296, allocations: 484.9 kB / 1.249 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.6312, allocations: 0.7354 MB / 1.249 GB, free: 136 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.6312, allocations: 4.062 kB / 1.249 GB, free: 132 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.7058/1.337, allocations: 0.5604 MB / 1.25 GB, free: 31.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/1.338, allocations: 187.5 kB / 1.25 GB, free: 31.47 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005125/1.344, allocations: 2.66 MB / 1.253 GB, free: 30.56 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009936/1.345, allocations: 1.154 MB / 1.254 GB, free: 29.86 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004339/1.345, allocations: 92.34 kB / 1.254 GB, free: 29.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/1.345, allocations: 43.12 kB / 1.254 GB, free: 29.84 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/1.345, allocations: 4 kB / 1.254 GB, free: 29.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.02126/1.366, allocations: 9.381 MB / 1.263 GB, free: 29.24 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches