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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.000911/0.0009111, allocations: 98.03 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.007111/0.007112, allocations: 168.9 kB / 16.26 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.384/1.384, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 8.656 kB / 0.9028 GB, free: 36.76 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2819, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1604/0.4423, allocations: 152.4 MB / 1.207 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02399/0.4664, allocations: 21.38 MB / 1.228 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.4681, allocations: 43.75 kB / 1.228 GB, free: 7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.4697, allocations: 1.126 MB / 1.229 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.4713, allocations: 0.8215 MB / 1.23 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.4725, allocations: 382.5 kB / 1.231 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001582/0.4741, allocations: 1.348 MB / 1.232 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009248/0.475, allocations: 0.5849 MB / 1.233 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.4761, allocations: 478.2 kB / 1.233 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.4773, allocations: 0.8941 MB / 1.234 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.4774, allocations: 24 kB / 1.234 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.4776, allocations: 67.98 kB / 1.234 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002637/0.4779, allocations: 292.7 kB / 1.234 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004333/0.4783, allocations: 470.5 kB / 1.235 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.4794, allocations: 1.128 MB / 1.236 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.4794, allocations: 0 / 1.236 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4794, allocations: 0 / 1.236 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.903e-05/0.4794, allocations: 4 kB / 1.236 GB, free: 15.38 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.002173/0.4816, allocations: 1.312 MB / 1.237 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4817, allocations: 12.03 kB / 1.237 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.4819, allocations: 135.3 kB / 1.237 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008439/0.4827, allocations: 0.6588 MB / 1.238 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.4829, allocations: 74.69 kB / 1.238 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.694e-05/0.483, allocations: 51.98 kB / 1.238 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009963/0.484, allocations: 0.5301 MB / 1.239 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.484, allocations: 4 kB / 1.239 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.4841, allocations: 16 kB / 1.239 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4841, allocations: 12 kB / 1.239 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008893/0.485, allocations: 435.7 kB / 1.239 GB, free: 12.04 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.003677/0.4887, allocations: 2.851 MB / 1.242 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.4897, allocations: 480.3 kB / 1.242 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005699/0.4903, allocations: 297.4 kB / 1.242 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.4903, allocations: 4.328 kB / 1.242 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005788/0.4909, allocations: 310.7 kB / 1.243 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.174e-06/0.4909, allocations: 0 / 1.243 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.003001/0.4939, allocations: 1.284 MB / 1.244 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.494, allocations: 59.41 kB / 1.244 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.4958, allocations: 1.744 MB / 1.246 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.4959, allocations: 33.7 kB / 1.246 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/0.4963, allocations: 0.5295 MB / 1.246 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.4964, allocations: 150 kB / 1.246 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.566e-05/0.4965, allocations: 49.7 kB / 1.247 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.554e-05/0.4966, allocations: 330 kB / 1.247 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005277/0.4971, allocations: 237 kB / 1.247 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005743/0.4977, allocations: 344.9 kB / 1.247 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009671/0.4987, allocations: 0.533 MB / 1.248 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4987, allocations: 0 / 1.248 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001701/0.5004, allocations: 0.8905 MB / 1.249 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.5005, allocations: 7.984 kB / 1.249 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.5005, allocations: 4 kB / 1.249 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/0.501, allocations: 186.3 kB / 1.249 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.5014, allocations: 103.9 kB / 1.249 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5257/1.027, allocations: 2.739 MB / 1.252 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/1.028, allocations: 93.39 kB / 1.252 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/1.028, allocations: 20.33 kB / 1.252 GB, free: 192.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: 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.0005497/1.028, allocations: 386.6 kB / 1.252 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/1.028, allocations: 117.4 kB / 1.252 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/1.029, allocations: 137.6 kB / 1.252 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/1.029, allocations: 4.594 kB / 1.252 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-05/1.029, allocations: 6.312 kB / 1.252 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/1.029, allocations: 3.125 kB / 1.252 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/1.031, allocations: 1.596 MB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.031, allocations: 0 / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/1.031, allocations: 51.52 kB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/1.032, allocations: 195.9 kB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/1.032, allocations: 17.03 kB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003224/1.035, allocations: 4.13 MB / 1.258 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.035, allocations: 3.031 kB / 1.258 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/1.037, allocations: 1.087 MB / 1.259 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/1.037, allocations: 220.3 kB / 1.26 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.429e-05/1.037, allocations: 14.5 kB / 1.26 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/1.038, allocations: 44.06 kB / 1.26 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/1.038, allocations: 52.22 kB / 1.26 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/1.038, allocations: 18.06 kB / 1.26 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001153/1.039, allocations: 1.28 MB / 1.261 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.039, allocations: 2.781 kB / 1.261 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008244/1.04, allocations: 212.3 kB / 1.261 GB, free: 188.6 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.001121/1.041, allocations: 482.2 kB / 1.262 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001472/1.042, allocations: 0.7396 MB / 1.262 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.042, allocations: 2.625 kB / 1.262 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007979/1.043, allocations: 0.566 MB / 1.263 GB, free: 188 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009896/1.044, allocations: 188.9 kB / 1.263 GB, free: 188 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/1.047, allocations: 2.784 MB / 1.266 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/1.048, allocations: 1.151 MB / 1.267 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002935/1.048, allocations: 92.8 kB / 1.267 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/1.048, allocations: 45.33 kB / 1.267 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/1.048, allocations: 0 / 1.267 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.02143/1.07, allocations: 9.629 MB / 1.276 GB, free: 185 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