Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 113.5 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 206.5 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.568/1.568, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.185/3.185, allocations: 0.49 GB / 0.7923 GB, free: 1.309 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 71.89 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.301/1.303, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.2322/1.535, allocations: 160.3 MB / 1.478 GB, free: 3.648 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03987/1.575, allocations: 21.88 MB / 1.5 GB, free: 1.766 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003149/1.578, allocations: 74.16 kB / 1.5 GB, free: 1.727 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002058/1.58, allocations: 1.168 MB / 1.501 GB, free: 1.109 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00249/1.583, allocations: 0.9123 MB / 1.502 GB, free: 0.543 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001445/1.584, allocations: 378.4 kB / 1.502 GB, free: 236 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002481/1.587, allocations: 1.274 MB / 1.504 GB, free: 15.36 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009613/1.588, allocations: 0.566 MB / 1.504 GB, free: 14.79 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/1.589, allocations: 0.5762 MB / 1.505 GB, free: 14.21 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/1.59, allocations: 1.003 MB / 1.506 GB, free: 13.2 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/1.59, allocations: 64 kB / 1.506 GB, free: 13.14 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000408/1.591, allocations: 119.9 kB / 1.506 GB, free: 13.02 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000315/1.591, allocations: 324.6 kB / 1.506 GB, free: 12.71 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005147/1.591, allocations: 488.8 kB / 1.507 GB, free: 12.23 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/1.593, allocations: 1.228 MB / 1.508 GB, free: 11 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/1.593, allocations: 0 / 1.508 GB, free: 11 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.094e-06/1.593, allocations: 0 / 1.508 GB, free: 11 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.633e-05/1.593, allocations: 0 / 1.508 GB, free: 11 MB / 1.186 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.002757/1.596, allocations: 1.544 MB / 1.509 GB, free: 9.395 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.596, allocations: 11.98 kB / 1.509 GB, free: 9.383 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/1.596, allocations: 144 kB / 1.509 GB, free: 9.242 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009931/1.597, allocations: 0.6837 MB / 1.51 GB, free: 8.508 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/1.597, allocations: 74.69 kB / 1.51 GB, free: 8.43 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-05/1.597, allocations: 44 kB / 1.51 GB, free: 8.387 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/1.598, allocations: 0.5223 MB / 1.511 GB, free: 7.855 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/1.599, allocations: 4 kB / 1.511 GB, free: 7.852 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/1.599, allocations: 16 kB / 1.511 GB, free: 7.836 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/1.599, allocations: 8 kB / 1.511 GB, free: 7.828 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009075/1.599, allocations: 415.7 kB / 1.511 GB, free: 7.418 MB / 1.186 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.004217/1.604, allocations: 2.808 MB / 1.514 GB, free: 4.367 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/1.605, allocations: 429.5 kB / 1.514 GB, free: 3.941 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/1.605, allocations: 273.2 kB / 1.515 GB, free: 3.672 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/1.605, allocations: 4.328 kB / 1.515 GB, free: 3.668 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006097/1.606, allocations: 294.8 kB / 1.515 GB, free: 3.371 MB / 1.186 GB Notification: Performance of pre-optimization done (n=45): time 2.525e-06/1.606, allocations: 0 / 1.515 GB, free: 3.371 MB / 1.186 GB Notification: Performance of matching and sorting (n=45): time 0.00328/1.609, allocations: 1.249 MB / 1.516 GB, free: 2.07 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/1.609, allocations: 63.38 kB / 1.516 GB, free: 1.996 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/1.612, allocations: 1.765 MB / 1.518 GB, free: 228 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.231e-05/1.612, allocations: 41.69 kB / 1.518 GB, free: 180 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005303/1.612, allocations: 0.5224 MB / 1.518 GB, free: 15.64 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/1.612, allocations: 154.7 kB / 1.519 GB, free: 15.5 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/1.613, allocations: 102.2 kB / 1.519 GB, free: 15.39 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000232/1.613, allocations: 326.4 kB / 1.519 GB, free: 15.07 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005322/1.613, allocations: 213 kB / 1.519 GB, free: 14.86 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/1.614, allocations: 332.8 kB / 1.52 GB, free: 14.49 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/1.615, allocations: 0.5029 MB / 1.52 GB, free: 13.95 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.615, allocations: 3.938 kB / 1.52 GB, free: 13.95 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001874/1.617, allocations: 0.8503 MB / 1.521 GB, free: 13.09 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.617, allocations: 4 kB / 1.521 GB, free: 13.09 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.617, allocations: 4 kB / 1.521 GB, free: 13.08 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006368/1.618, allocations: 188.8 kB / 1.521 GB, free: 12.89 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/1.618, allocations: 95.81 kB / 1.521 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004007/1.622, allocations: 2.994 MB / 1.524 GB, free: 9.672 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/1.622, allocations: 75.58 kB / 1.524 GB, free: 9.598 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/1.622, allocations: 24.06 kB / 1.524 GB, free: 9.574 MB / 1.201 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.000655/1.623, allocations: 391.2 kB / 1.525 GB, free: 9.184 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/1.623, allocations: 127.1 kB / 1.525 GB, free: 9.059 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/1.624, allocations: 139.9 kB / 1.525 GB, free: 8.918 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.624, allocations: 4 kB / 1.525 GB, free: 8.914 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/1.624, allocations: 7.938 kB / 1.525 GB, free: 8.906 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.624, allocations: 3.984 kB / 1.525 GB, free: 8.902 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/1.626, allocations: 1.565 MB / 1.526 GB, free: 7.281 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.626, allocations: 0 / 1.526 GB, free: 7.281 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/1.627, allocations: 47.97 kB / 1.526 GB, free: 7.234 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005661/1.627, allocations: 201.5 kB / 1.527 GB, free: 7.031 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/1.627, allocations: 15.98 kB / 1.527 GB, free: 7.016 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005222/1.632, allocations: 4.543 MB / 1.531 GB, free: 2.199 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.632, allocations: 8.094 kB / 1.531 GB, free: 2.191 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/1.635, allocations: 1.059 MB / 1.532 GB, free: 1.109 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/1.635, allocations: 224.2 kB / 1.532 GB, free: 0.8711 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.48e-05/1.635, allocations: 11.98 kB / 1.532 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/1.635, allocations: 27.97 kB / 1.532 GB, free: 0.832 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/1.636, allocations: 55.92 kB / 1.532 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/1.636, allocations: 16 kB / 1.532 GB, free: 0.7617 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001707/1.637, allocations: 1.297 MB / 1.534 GB, free: 15.46 MB / 1.217 GB Notification: Performance of sort global known variables: time 6e-08/1.637, allocations: 0 / 1.534 GB, free: 15.46 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009325/1.638, allocations: 207.7 kB / 1.534 GB, free: 15.26 MB / 1.217 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.001902/1.64, allocations: 486 kB / 1.534 GB, free: 14.96 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00173/1.642, allocations: 0.6915 MB / 1.535 GB, free: 14.26 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.642, allocations: 0 / 1.535 GB, free: 14.26 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009811/1.643, allocations: 0.5445 MB / 1.535 GB, free: 13.69 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/1.644, allocations: 208.2 kB / 1.536 GB, free: 13.5 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/1.648, allocations: 2.473 MB / 1.538 GB, free: 10.99 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/1.649, allocations: 1.153 MB / 1.539 GB, free: 9.805 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/1.65, allocations: 51.42 kB / 1.539 GB, free: 9.754 MB / 1.217 GB Notification: Performance of SimCode: time 1.172e-06/1.65, allocations: 0 / 1.539 GB, free: 9.754 MB / 1.217 GB Notification: Performance of Templates: time 0.0341/1.684, allocations: 18.12 MB / 1.557 GB, free: 7.66 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.22793226900103]