Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 102.8 kB / 16.41 MB, free: 6.508 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.0017/0.0017, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 68.11 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8157/0.817, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1713/0.9884, allocations: 156.7 MB / 1.361 GB, free: 412 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02742/1.016, allocations: 21.76 MB / 1.383 GB, free: 10.57 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/1.018, allocations: 55.69 kB / 1.383 GB, free: 10.52 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/1.02, allocations: 1.161 MB / 1.384 GB, free: 9.355 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001836/1.022, allocations: 0.8523 MB / 1.385 GB, free: 8.5 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001474/1.024, allocations: 446.4 kB / 1.385 GB, free: 8.066 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001849/1.025, allocations: 1.243 MB / 1.386 GB, free: 6.82 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/1.027, allocations: 0.6947 MB / 1.387 GB, free: 6.125 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/1.028, allocations: 0.5607 MB / 1.388 GB, free: 5.562 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/1.029, allocations: 0.9156 MB / 1.388 GB, free: 4.645 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000221/1.03, allocations: 68 kB / 1.389 GB, free: 4.578 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/1.03, allocations: 108 kB / 1.389 GB, free: 4.473 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003483/1.03, allocations: 316.7 kB / 1.389 GB, free: 4.164 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006209/1.031, allocations: 488.8 kB / 1.389 GB, free: 3.684 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/1.032, allocations: 1.195 MB / 1.391 GB, free: 2.484 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/1.032, allocations: 0 / 1.391 GB, free: 2.484 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.064e-06/1.032, allocations: 0 / 1.391 GB, free: 2.484 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.553e-05/1.033, allocations: 0 / 1.391 GB, free: 2.484 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.002405/1.035, allocations: 1.494 MB / 1.392 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.035, allocations: 12.03 kB / 1.392 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/1.035, allocations: 131.2 kB / 1.392 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008539/1.036, allocations: 0.6629 MB / 1.393 GB, free: 80 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/1.036, allocations: 70.69 kB / 1.393 GB, free: 4 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/1.036, allocations: 48.08 kB / 1.393 GB, free: 15.95 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/1.038, allocations: 0.5223 MB / 1.393 GB, free: 15.42 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/1.038, allocations: 0 / 1.393 GB, free: 15.42 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.452e-05/1.038, allocations: 16 kB / 1.393 GB, free: 15.4 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/1.038, allocations: 12 kB / 1.393 GB, free: 15.39 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/1.039, allocations: 419.7 kB / 1.394 GB, free: 14.98 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.003803/1.043, allocations: 2.716 MB / 1.397 GB, free: 12.03 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009733/1.044, allocations: 447.9 kB / 1.397 GB, free: 11.58 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000657/1.045, allocations: 309.2 kB / 1.397 GB, free: 11.28 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/1.045, allocations: 4.328 kB / 1.397 GB, free: 11.27 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006288/1.045, allocations: 279.8 kB / 1.398 GB, free: 10.99 MB / 1.123 GB Notification: Performance of pre-optimization done (n=44): time 2.725e-06/1.045, allocations: 4 kB / 1.398 GB, free: 10.98 MB / 1.123 GB Notification: Performance of matching and sorting (n=44): time 0.002757/1.048, allocations: 1.151 MB / 1.399 GB, free: 9.781 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/1.048, allocations: 59.41 kB / 1.399 GB, free: 9.711 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/1.05, allocations: 1.76 MB / 1.4 GB, free: 7.941 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/1.05, allocations: 37.7 kB / 1.4 GB, free: 7.898 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004693/1.051, allocations: 0.5328 MB / 1.401 GB, free: 7.359 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/1.051, allocations: 142 kB / 1.401 GB, free: 7.219 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/1.051, allocations: 98.25 kB / 1.401 GB, free: 7.117 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.051, allocations: 326 kB / 1.402 GB, free: 6.793 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/1.052, allocations: 213 kB / 1.402 GB, free: 6.586 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000656/1.052, allocations: 339.1 kB / 1.402 GB, free: 6.207 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008973/1.053, allocations: 0.5151 MB / 1.403 GB, free: 5.645 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.053, allocations: 3.938 kB / 1.403 GB, free: 5.641 MB / 1.123 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001778/1.055, allocations: 0.8106 MB / 1.403 GB, free: 4.82 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.055, allocations: 4 kB / 1.403 GB, free: 4.816 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.055, allocations: 7.984 kB / 1.403 GB, free: 4.809 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004176/1.055, allocations: 144.9 kB / 1.404 GB, free: 4.664 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/1.056, allocations: 103.8 kB / 1.404 GB, free: 4.562 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/1.059, allocations: 2.59 MB / 1.406 GB, free: 1.84 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/1.059, allocations: 83.45 kB / 1.406 GB, free: 1.758 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/1.059, allocations: 23.98 kB / 1.406 GB, free: 1.734 MB / 1.123 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.0005441/1.06, allocations: 383.3 kB / 1.407 GB, free: 1.352 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/1.06, allocations: 118.5 kB / 1.407 GB, free: 1.234 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/1.06, allocations: 143.7 kB / 1.407 GB, free: 1.09 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/1.06, allocations: 4 kB / 1.407 GB, free: 1.086 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/1.06, allocations: 4 kB / 1.407 GB, free: 1.082 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/1.06, allocations: 3.984 kB / 1.407 GB, free: 1.078 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/1.062, allocations: 1.49 MB / 1.408 GB, free: 15.53 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.062, allocations: 4 kB / 1.408 GB, free: 15.52 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/1.063, allocations: 43.95 kB / 1.408 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003856/1.063, allocations: 165.6 kB / 1.409 GB, free: 15.31 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/1.063, allocations: 15.98 kB / 1.409 GB, free: 15.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003632/1.067, allocations: 4.033 MB / 1.412 GB, free: 10.99 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.067, allocations: 0 / 1.412 GB, free: 10.99 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/1.068, allocations: 0.9809 MB / 1.413 GB, free: 9.988 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/1.069, allocations: 211.5 kB / 1.414 GB, free: 9.762 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/1.069, allocations: 15.98 kB / 1.414 GB, free: 9.746 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/1.069, allocations: 31.97 kB / 1.414 GB, free: 9.715 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/1.069, allocations: 51.92 kB / 1.414 GB, free: 9.664 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/1.069, allocations: 15.94 kB / 1.414 GB, free: 9.648 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001372/1.071, allocations: 1.285 MB / 1.415 GB, free: 8.359 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.9e-07/1.071, allocations: 0 / 1.415 GB, free: 8.359 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007831/1.072, allocations: 203.7 kB / 1.415 GB, free: 8.16 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,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.001173/1.073, allocations: 486.1 kB / 1.416 GB, free: 7.863 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001515/1.074, allocations: 0.6554 MB / 1.416 GB, free: 7.195 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.074, allocations: 4.125 kB / 1.416 GB, free: 7.191 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008553/1.075, allocations: 0.5319 MB / 1.417 GB, free: 6.633 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/1.076, allocations: 198.6 kB / 1.417 GB, free: 6.445 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/1.08, allocations: 2.414 MB / 1.419 GB, free: 3.992 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007664/1.081, allocations: 1.142 MB / 1.42 GB, free: 2.824 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/1.081, allocations: 47.44 kB / 1.421 GB, free: 2.777 MB / 1.139 GB Notification: Performance of SimCode: time 4.21e-07/1.081, allocations: 0 / 1.421 GB, free: 2.777 MB / 1.139 GB Notification: Performance of Templates: time 0.0279/1.109, allocations: 17.88 MB / 1.438 GB, free: 0.9297 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches