Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001268/0.001268, allocations: 183 kB / 17.34 MB, free: 5.766 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 60.12 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8361/0.8374, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1672/1.005, allocations: 156.7 MB / 1.361 GB, free: 352 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02513/1.03, allocations: 21.74 MB / 1.383 GB, free: 10.54 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/1.032, allocations: 59.69 kB / 1.383 GB, free: 10.48 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001918/1.034, allocations: 1.161 MB / 1.384 GB, free: 9.312 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/1.036, allocations: 0.8601 MB / 1.385 GB, free: 8.449 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/1.038, allocations: 437.9 kB / 1.385 GB, free: 8.023 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001911/1.04, allocations: 1.267 MB / 1.386 GB, free: 6.754 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/1.041, allocations: 0.6792 MB / 1.387 GB, free: 6.074 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/1.042, allocations: 0.5491 MB / 1.388 GB, free: 5.523 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/1.043, allocations: 0.9214 MB / 1.388 GB, free: 4.602 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/1.044, allocations: 68 kB / 1.389 GB, free: 4.535 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/1.044, allocations: 112 kB / 1.389 GB, free: 4.426 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002953/1.044, allocations: 312.7 kB / 1.389 GB, free: 4.121 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005677/1.045, allocations: 488.8 kB / 1.389 GB, free: 3.641 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/1.046, allocations: 1.201 MB / 1.391 GB, free: 2.438 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/1.046, allocations: 0 / 1.391 GB, free: 2.438 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.304e-06/1.046, allocations: 0 / 1.391 GB, free: 2.438 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.564e-05/1.046, allocations: 0 / 1.391 GB, free: 2.438 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.002425/1.049, allocations: 1.486 MB / 1.392 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.049, allocations: 12.03 kB / 1.392 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/1.049, allocations: 135.2 kB / 1.392 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008817/1.05, allocations: 0.6628 MB / 1.393 GB, free: 36 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/1.05, allocations: 70.69 kB / 1.393 GB, free: 15.96 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.799e-05/1.05, allocations: 44 kB / 1.393 GB, free: 15.92 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009947/1.051, allocations: 0.5184 MB / 1.393 GB, free: 15.39 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/1.051, allocations: 0 / 1.393 GB, free: 15.39 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/1.051, allocations: 23.98 kB / 1.393 GB, free: 15.36 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/1.051, allocations: 12 kB / 1.393 GB, free: 15.35 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008773/1.052, allocations: 411.7 kB / 1.394 GB, free: 14.95 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.003781/1.056, allocations: 2.803 MB / 1.397 GB, free: 11.9 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/1.057, allocations: 447.4 kB / 1.397 GB, free: 11.45 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/1.058, allocations: 286.9 kB / 1.397 GB, free: 11.17 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/1.058, allocations: 4.328 kB / 1.397 GB, free: 11.17 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000568/1.058, allocations: 298.8 kB / 1.398 GB, free: 10.87 MB / 1.123 GB Notification: Performance of pre-optimization done (n=45): time 2.635e-06/1.058, allocations: 0 / 1.398 GB, free: 10.87 MB / 1.123 GB Notification: Performance of matching and sorting (n=45): time 0.002966/1.061, allocations: 1.252 MB / 1.399 GB, free: 9.562 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/1.061, allocations: 63.34 kB / 1.399 GB, free: 9.488 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/1.063, allocations: 1.748 MB / 1.401 GB, free: 7.73 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/1.063, allocations: 37.7 kB / 1.401 GB, free: 7.688 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/1.064, allocations: 0.5141 MB / 1.401 GB, free: 7.172 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/1.064, allocations: 153.9 kB / 1.401 GB, free: 7.02 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/1.064, allocations: 98.19 kB / 1.401 GB, free: 6.918 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002367/1.064, allocations: 330 kB / 1.402 GB, free: 6.59 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/1.065, allocations: 217 kB / 1.402 GB, free: 6.379 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/1.065, allocations: 324.8 kB / 1.402 GB, free: 6.02 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009303/1.066, allocations: 0.5112 MB / 1.403 GB, free: 5.473 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.066, allocations: 4 kB / 1.403 GB, free: 5.469 MB / 1.123 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001766/1.068, allocations: 0.8497 MB / 1.404 GB, free: 4.609 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/1.068, allocations: 8 kB / 1.404 GB, free: 4.602 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.068, allocations: 4 kB / 1.404 GB, free: 4.598 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/1.069, allocations: 184.9 kB / 1.404 GB, free: 4.414 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/1.069, allocations: 95.81 kB / 1.404 GB, free: 4.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/1.073, allocations: 2.992 MB / 1.407 GB, free: 1.191 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/1.073, allocations: 71.5 kB / 1.407 GB, free: 1.121 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/1.073, allocations: 24.05 kB / 1.407 GB, free: 1.098 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.0005391/1.074, allocations: 383.4 kB / 1.407 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/1.074, allocations: 122.4 kB / 1.407 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/1.074, allocations: 139.7 kB / 1.407 GB, free: 464 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.074, allocations: 4 kB / 1.407 GB, free: 460 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/1.074, allocations: 4 kB / 1.407 GB, free: 456 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/1.074, allocations: 7.984 kB / 1.407 GB, free: 448 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/1.077, allocations: 1.568 MB / 1.409 GB, free: 14.81 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.077, allocations: 0 / 1.409 GB, free: 14.81 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/1.077, allocations: 43.91 kB / 1.409 GB, free: 14.77 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/1.077, allocations: 193.6 kB / 1.409 GB, free: 14.57 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/1.077, allocations: 15.98 kB / 1.409 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004256/1.082, allocations: 4.544 MB / 1.414 GB, free: 9.738 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.082, allocations: 4.062 kB / 1.414 GB, free: 9.734 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/1.083, allocations: 1.062 MB / 1.415 GB, free: 8.652 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/1.084, allocations: 215.5 kB / 1.415 GB, free: 8.422 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.289e-05/1.084, allocations: 15.98 kB / 1.415 GB, free: 8.406 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/1.084, allocations: 23.97 kB / 1.415 GB, free: 8.383 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.084, allocations: 55.92 kB / 1.415 GB, free: 8.328 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/1.084, allocations: 16 kB / 1.415 GB, free: 8.312 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001343/1.086, allocations: 1.284 MB / 1.416 GB, free: 7.023 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.8e-07/1.086, allocations: 0 / 1.416 GB, free: 7.023 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007835/1.087, allocations: 207.6 kB / 1.416 GB, free: 6.82 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.001192/1.088, allocations: 473.6 kB / 1.417 GB, free: 6.539 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001573/1.089, allocations: 0.7228 MB / 1.418 GB, free: 5.801 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.089, allocations: 0 / 1.418 GB, free: 5.801 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008532/1.09, allocations: 0.5447 MB / 1.418 GB, free: 5.23 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/1.091, allocations: 205.1 kB / 1.418 GB, free: 5.039 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/1.095, allocations: 2.425 MB / 1.421 GB, free: 2.574 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/1.096, allocations: 1.149 MB / 1.422 GB, free: 1.398 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/1.096, allocations: 51.36 kB / 1.422 GB, free: 1.348 MB / 1.139 GB Notification: Performance of SimCode: time 6.42e-07/1.096, allocations: 4 kB / 1.422 GB, free: 1.344 MB / 1.139 GB Notification: Performance of Templates: time 0.02404/1.12, allocations: 17.9 MB / 1.439 GB, free: 15.47 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches