Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.TestCase1,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.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_latest_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.001732/0.001732, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002193/0.002193, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.36/1.36, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.661/2.661, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 62.61 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2911, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.156/0.4471, allocations: 154.5 MB / 1.204 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02503/0.4722, allocations: 21.61 MB / 1.225 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.4741, allocations: 51.69 kB / 1.225 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.4758, allocations: 1.119 MB / 1.226 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.4774, allocations: 0.8176 MB / 1.227 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.4787, allocations: 386.4 kB / 1.227 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.4803, allocations: 1.352 MB / 1.228 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009305/0.4812, allocations: 0.6161 MB / 1.229 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007854/0.482, allocations: 498.2 kB / 1.229 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.483, allocations: 0.9137 MB / 1.23 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.84e-05/0.4831, allocations: 40 kB / 1.23 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.4834, allocations: 75.97 kB / 1.23 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.4836, allocations: 308.7 kB / 1.231 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003762/0.484, allocations: 456.8 kB / 1.231 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007491/0.4848, allocations: 0.9199 MB / 1.232 GB, free: 20 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4848, allocations: 4 kB / 1.232 GB, free: 16 kB / 0.9825 GB Notification: Performance of FrontEnd: time 7.91e-07/0.4848, allocations: 0 / 1.232 GB, free: 16 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.4848, allocations: 0 / 1.232 GB, free: 16 kB / 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.002117/0.4869, allocations: 1.475 MB / 1.233 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.487, allocations: 15.91 kB / 1.233 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.4872, allocations: 131.3 kB / 1.234 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000754/0.4879, allocations: 0.6627 MB / 1.234 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.4881, allocations: 78.62 kB / 1.234 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.451e-05/0.4881, allocations: 43.98 kB / 1.234 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009155/0.4891, allocations: 0.5184 MB / 1.235 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.4891, allocations: 4 kB / 1.235 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.4891, allocations: 24 kB / 1.235 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.4892, allocations: 8 kB / 1.235 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008101/0.49, allocations: 411.7 kB / 1.235 GB, free: 12.53 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.00326/0.4932, allocations: 2.739 MB / 1.238 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009132/0.4942, allocations: 435.7 kB / 1.238 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/0.4948, allocations: 305.7 kB / 1.239 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.4948, allocations: 8.656 kB / 1.239 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005203/0.4954, allocations: 283 kB / 1.239 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.064e-06/0.4954, allocations: 0 / 1.239 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002581/0.498, allocations: 1.148 MB / 1.24 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.498, allocations: 63.34 kB / 1.24 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.4998, allocations: 1.756 MB / 1.242 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.4999, allocations: 37.69 kB / 1.242 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.5003, allocations: 0.5288 MB / 1.242 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.5004, allocations: 142 kB / 1.243 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.5006, allocations: 102.2 kB / 1.243 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5007, allocations: 330 kB / 1.243 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/0.5012, allocations: 209 kB / 1.243 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.5017, allocations: 335.1 kB / 1.243 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008959/0.5026, allocations: 0.5221 MB / 1.244 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.5026, allocations: 3.938 kB / 1.244 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001552/0.5042, allocations: 0.8031 MB / 1.245 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.5042, allocations: 8 kB / 1.245 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5042, allocations: 4 kB / 1.245 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004498/0.5047, allocations: 134.5 kB / 1.245 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.5051, allocations: 103.9 kB / 1.245 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5105/1.016, allocations: 2.375 MB / 1.247 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006139/1.016, allocations: 86.25 kB / 1.247 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/1.016, allocations: 19.64 kB / 1.247 GB, free: 194.3 MB / 0.9981 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.0005372/1.017, allocations: 390.2 kB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/1.017, allocations: 122.4 kB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/1.017, allocations: 140.8 kB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.423e-06/1.017, allocations: 5.5 kB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.017, allocations: 7.516 kB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.017, allocations: 3.344 kB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/1.02, allocations: 1.496 MB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.02, allocations: 1.188 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/1.02, allocations: 42.2 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004068/1.02, allocations: 168 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/1.02, allocations: 11.31 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002838/1.023, allocations: 3.685 MB / 1.253 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.023, allocations: 0.8594 kB / 1.253 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/1.025, allocations: 0.9879 MB / 1.254 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/1.025, allocations: 217 kB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/1.025, allocations: 6.688 kB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/1.025, allocations: 39.67 kB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.025, allocations: 50.64 kB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/1.025, allocations: 22.5 kB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001137/1.027, allocations: 1.288 MB / 1.256 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.027, allocations: 0 / 1.256 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000749/1.027, allocations: 207.6 kB / 1.256 GB, free: 190.7 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 (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.001119/1.028, allocations: 486.6 kB / 1.257 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001195/1.03, allocations: 0.6657 MB / 1.257 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.03, allocations: 0 / 1.257 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006569/1.03, allocations: 0.5215 MB / 1.258 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009493/1.031, allocations: 184.6 kB / 1.258 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/1.035, allocations: 2.749 MB / 1.261 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/1.035, allocations: 1.143 MB / 1.262 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/1.035, allocations: 46.73 kB / 1.262 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/1.035, allocations: 2.531 kB / 1.262 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.02893/1.064, allocations: 17.81 MB / 1.279 GB, free: 182.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches