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.0008112/0.0008115, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009375/0.0009376, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.304/1.304, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.612/2.612, allocations: 462.6 MB / 0.737 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003952, allocations: 8.5 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2757, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.158/0.4337, allocations: 152.4 MB / 1.208 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02377/0.4576, allocations: 21.38 MB / 1.229 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/0.4594, allocations: 47.69 kB / 1.229 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.461, allocations: 1.13 MB / 1.23 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.4626, allocations: 0.8177 MB / 1.231 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.4638, allocations: 382.2 kB / 1.231 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.4655, allocations: 1.348 MB / 1.233 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009231/0.4664, allocations: 0.585 MB / 1.233 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008109/0.4672, allocations: 482.1 kB / 1.234 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.4684, allocations: 0.8903 MB / 1.235 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.4686, allocations: 24 kB / 1.235 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.4689, allocations: 71.97 kB / 1.235 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.4692, allocations: 292.7 kB / 1.235 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005477/0.4698, allocations: 470.5 kB / 1.235 GB, free: 84 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009078/0.4707, allocations: 0.8963 MB / 1.236 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4707, allocations: 0 / 1.236 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4707, allocations: 0 / 1.236 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.545e-05/0.4708, allocations: 4 kB / 1.236 GB, free: 15.18 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002319/0.4731, allocations: 1.316 MB / 1.238 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4731, allocations: 15.97 kB / 1.238 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/0.4734, allocations: 127.3 kB / 1.238 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008969/0.4743, allocations: 0.6666 MB / 1.238 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.4744, allocations: 74.69 kB / 1.238 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.224e-05/0.4745, allocations: 51.98 kB / 1.238 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.4755, allocations: 0.5301 MB / 1.239 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.4756, allocations: 0 / 1.239 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.4756, allocations: 19.98 kB / 1.239 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.4756, allocations: 16 kB / 1.239 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009048/0.4766, allocations: 435.7 kB / 1.239 GB, free: 11.82 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.003846/0.4804, allocations: 2.842 MB / 1.242 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.4815, allocations: 477.6 kB / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000568/0.482, allocations: 294.9 kB / 1.243 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.632e-05/0.4821, allocations: 12.3 kB / 1.243 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005783/0.4827, allocations: 310.5 kB / 1.243 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.344e-06/0.4827, allocations: 0 / 1.243 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002997/0.4857, allocations: 1.273 MB / 1.244 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.4858, allocations: 59.41 kB / 1.244 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.4877, allocations: 1.744 MB / 1.246 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.4877, allocations: 37.7 kB / 1.246 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/0.4882, allocations: 0.5295 MB / 1.247 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.4883, allocations: 146 kB / 1.247 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.4884, allocations: 50.14 kB / 1.247 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4885, allocations: 330 kB / 1.247 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/0.4891, allocations: 237 kB / 1.247 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006392/0.4897, allocations: 344.9 kB / 1.248 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009631/0.4907, allocations: 0.5328 MB / 1.248 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4907, allocations: 4 kB / 1.248 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001765/0.4925, allocations: 0.8862 MB / 1.249 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.4925, allocations: 13.23 kB / 1.249 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4925, allocations: 4 kB / 1.249 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005145/0.493, allocations: 188.7 kB / 1.249 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.4934, allocations: 103.9 kB / 1.249 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5538/1.047, allocations: 2.736 MB / 1.252 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007174/1.048, allocations: 96.39 kB / 1.252 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.086e-05/1.048, allocations: 18.59 kB / 1.252 GB, free: 191.5 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 (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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000738/1.049, allocations: 392.2 kB / 1.253 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/1.049, allocations: 115.2 kB / 1.253 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/1.049, allocations: 141.2 kB / 1.253 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/1.049, allocations: 4.719 kB / 1.253 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/1.049, allocations: 6.891 kB / 1.253 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/1.049, allocations: 1.922 kB / 1.253 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/1.052, allocations: 1.595 MB / 1.254 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.052, allocations: 0 / 1.254 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/1.053, allocations: 50.48 kB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005338/1.053, allocations: 196.8 kB / 1.255 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/1.053, allocations: 17.28 kB / 1.255 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003633/1.057, allocations: 4.134 MB / 1.259 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.057, allocations: 0 / 1.259 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/1.059, allocations: 1.085 MB / 1.26 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/1.059, allocations: 224.5 kB / 1.26 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.025e-05/1.059, allocations: 16.67 kB / 1.26 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/1.06, allocations: 38.22 kB / 1.26 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.06, allocations: 56.17 kB / 1.26 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/1.06, allocations: 19.67 kB / 1.26 GB, free: 188 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001446/1.061, allocations: 1.275 MB / 1.261 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.061, allocations: 0 / 1.261 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001031/1.062, allocations: 210.1 kB / 1.262 GB, free: 187.8 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,13,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.00125/1.064, allocations: 487.5 kB / 1.262 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001822/1.065, allocations: 0.7417 MB / 1.263 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.065, allocations: 0 / 1.263 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009134/1.066, allocations: 0.5578 MB / 1.263 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/1.068, allocations: 203 kB / 1.264 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/1.072, allocations: 2.821 MB / 1.266 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008195/1.073, allocations: 1.147 MB / 1.267 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/1.073, allocations: 41.81 kB / 1.267 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.073, allocations: 4 kB / 1.267 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03437/1.107, allocations: 17.63 MB / 1.285 GB, free: 179.8 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/jenkins1/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