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.001233/0.001233, allocations: 110.9 kB / 16.41 MB, free: 6.008 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.001287/0.001288, allocations: 182.3 kB / 17.34 MB, free: 5.629 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.628/2.628, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8184/0.8197, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1807/1, allocations: 156.8 MB / 1.361 GB, free: 280 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03009/1.031, allocations: 21.73 MB / 1.383 GB, free: 10.47 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002672/1.033, allocations: 59.69 kB / 1.383 GB, free: 10.41 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001849/1.035, allocations: 1.161 MB / 1.384 GB, free: 9.25 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/1.037, allocations: 0.8562 MB / 1.385 GB, free: 8.391 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001442/1.039, allocations: 438 kB / 1.385 GB, free: 7.965 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001955/1.041, allocations: 1.27 MB / 1.386 GB, free: 6.691 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/1.042, allocations: 0.6791 MB / 1.387 GB, free: 6.012 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/1.043, allocations: 0.5452 MB / 1.388 GB, free: 5.465 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/1.045, allocations: 0.9214 MB / 1.388 GB, free: 4.543 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001992/1.045, allocations: 64 kB / 1.389 GB, free: 4.48 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003815/1.045, allocations: 116 kB / 1.389 GB, free: 4.367 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003695/1.045, allocations: 324.6 kB / 1.389 GB, free: 4.051 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007581/1.046, allocations: 484.9 kB / 1.389 GB, free: 3.574 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/1.048, allocations: 1.197 MB / 1.391 GB, free: 2.375 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.048, allocations: 3.984 kB / 1.391 GB, free: 2.371 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.593e-06/1.048, allocations: 0 / 1.391 GB, free: 2.371 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.006e-05/1.048, allocations: 4 kB / 1.391 GB, free: 2.367 MB / 1.107 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.003046/1.051, allocations: 1.484 MB / 1.392 GB, free: 0.832 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.051, allocations: 8.031 kB / 1.392 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/1.051, allocations: 135.2 kB / 1.392 GB, free: 0.6914 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/1.052, allocations: 0.659 MB / 1.393 GB, free: 15.98 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/1.053, allocations: 70.69 kB / 1.393 GB, free: 15.9 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/1.053, allocations: 51.98 kB / 1.393 GB, free: 15.85 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/1.054, allocations: 0.5184 MB / 1.393 GB, free: 15.32 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/1.054, allocations: 0 / 1.393 GB, free: 15.32 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/1.054, allocations: 16 kB / 1.393 GB, free: 15.3 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/1.054, allocations: 12 kB / 1.393 GB, free: 15.29 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000947/1.055, allocations: 415.7 kB / 1.394 GB, free: 14.89 MB / 1.123 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.00422/1.059, allocations: 2.796 MB / 1.397 GB, free: 11.84 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/1.06, allocations: 459.3 kB / 1.397 GB, free: 11.39 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006604/1.061, allocations: 285.3 kB / 1.397 GB, free: 11.11 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/1.061, allocations: 4.328 kB / 1.397 GB, free: 11.1 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006011/1.061, allocations: 298.8 kB / 1.398 GB, free: 10.8 MB / 1.123 GB Notification: Performance of pre-optimization done (n=45): time 4.528e-06/1.061, allocations: 0 / 1.398 GB, free: 10.8 MB / 1.123 GB Notification: Performance of matching and sorting (n=45): time 0.002983/1.064, allocations: 1.248 MB / 1.399 GB, free: 9.5 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/1.065, allocations: 59.41 kB / 1.399 GB, free: 9.43 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/1.067, allocations: 1.752 MB / 1.401 GB, free: 7.668 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/1.067, allocations: 37.7 kB / 1.401 GB, free: 7.625 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/1.067, allocations: 0.518 MB / 1.401 GB, free: 7.105 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/1.067, allocations: 149.9 kB / 1.401 GB, free: 6.957 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/1.067, allocations: 94.25 kB / 1.401 GB, free: 6.859 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.068, allocations: 326 kB / 1.402 GB, free: 6.535 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/1.068, allocations: 216.9 kB / 1.402 GB, free: 6.324 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005289/1.069, allocations: 328.9 kB / 1.402 GB, free: 5.961 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008919/1.07, allocations: 0.5145 MB / 1.403 GB, free: 5.41 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.07, allocations: 4 kB / 1.403 GB, free: 5.406 MB / 1.123 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001668/1.071, allocations: 0.8458 MB / 1.404 GB, free: 4.551 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/1.071, allocations: 6.031 kB / 1.404 GB, free: 4.547 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.071, allocations: 4 kB / 1.404 GB, free: 4.543 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/1.072, allocations: 188.8 kB / 1.404 GB, free: 4.355 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/1.072, allocations: 91.88 kB / 1.404 GB, free: 4.266 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/1.076, allocations: 2.996 MB / 1.407 GB, free: 1.129 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004812/1.076, allocations: 75.55 kB / 1.407 GB, free: 1.055 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/1.076, allocations: 20.44 kB / 1.407 GB, free: 1.035 MB / 1.123 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.0005756/1.077, allocations: 379.4 kB / 1.407 GB, free: 0.6562 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/1.077, allocations: 122.4 kB / 1.407 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/1.077, allocations: 135.7 kB / 1.407 GB, free: 408 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/1.078, allocations: 7.938 kB / 1.407 GB, free: 400 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/1.078, allocations: 4 kB / 1.407 GB, free: 396 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/1.078, allocations: 3.984 kB / 1.407 GB, free: 392 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/1.08, allocations: 1.572 MB / 1.409 GB, free: 14.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.08, allocations: 0 / 1.409 GB, free: 14.75 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/1.08, allocations: 51.89 kB / 1.409 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/1.081, allocations: 192.3 kB / 1.409 GB, free: 14.51 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/1.081, allocations: 15.98 kB / 1.409 GB, free: 14.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004618/1.086, allocations: 4.545 MB / 1.414 GB, free: 9.676 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.086, allocations: 4.062 kB / 1.414 GB, free: 9.672 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/1.087, allocations: 1.059 MB / 1.415 GB, free: 8.594 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/1.088, allocations: 219.5 kB / 1.415 GB, free: 8.359 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/1.088, allocations: 12 kB / 1.415 GB, free: 8.348 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/1.088, allocations: 31.97 kB / 1.415 GB, free: 8.316 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/1.088, allocations: 51.92 kB / 1.415 GB, free: 8.266 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/1.088, allocations: 19.98 kB / 1.415 GB, free: 8.246 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001515/1.09, allocations: 1.273 MB / 1.416 GB, free: 6.969 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.41e-07/1.09, allocations: 0 / 1.416 GB, free: 6.969 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007862/1.091, allocations: 207.7 kB / 1.416 GB, free: 6.766 MB / 1.139 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.001179/1.092, allocations: 487.6 kB / 1.417 GB, free: 6.473 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001623/1.094, allocations: 0.715 MB / 1.418 GB, free: 5.742 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.094, allocations: 3.938 kB / 1.418 GB, free: 5.738 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009277/1.095, allocations: 0.5447 MB / 1.418 GB, free: 5.168 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/1.096, allocations: 189.7 kB / 1.418 GB, free: 4.988 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/1.099, allocations: 2.429 MB / 1.421 GB, free: 2.52 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009783/1.1, allocations: 1.149 MB / 1.422 GB, free: 1.344 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/1.101, allocations: 51.42 kB / 1.422 GB, free: 1.293 MB / 1.139 GB Notification: Performance of SimCode: time 1.012e-06/1.101, allocations: 0 / 1.422 GB, free: 1.293 MB / 1.139 GB Notification: Performance of Templates: time 0.02509/1.126, allocations: 17.9 MB / 1.439 GB, free: 15.42 MB / 1.17 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