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.001304/0.001304, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001446/0.001446, allocations: 209 kB / 22.99 MB, free: 4.957 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.127/3.127, allocations: 0.49 GB / 0.7958 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.002126/0.002126, allocations: 75.69 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2913, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1744/0.4657, allocations: 138.5 MB / 1.462 GB, free: 5.926 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02719/0.4929, allocations: 19.72 MB / 1.482 GB, free: 2.152 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.4945, allocations: 71.44 kB / 1.482 GB, free: 2.082 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.4963, allocations: 1.165 MB / 1.483 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.4979, allocations: 0.9186 MB / 1.484 GB, free: 15.99 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009521/0.4989, allocations: 386.8 kB / 1.484 GB, free: 15.61 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001448/0.5003, allocations: 1.282 MB / 1.485 GB, free: 14.32 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007295/0.5011, allocations: 0.543 MB / 1.486 GB, free: 13.78 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007186/0.5018, allocations: 0.5725 MB / 1.486 GB, free: 13.2 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.503, allocations: 1.007 MB / 1.487 GB, free: 12.19 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.5031, allocations: 64 kB / 1.487 GB, free: 12.13 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.5034, allocations: 119.9 kB / 1.488 GB, free: 12.01 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.5037, allocations: 324.7 kB / 1.488 GB, free: 11.7 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003937/0.5041, allocations: 377.5 kB / 1.488 GB, free: 11.32 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.5055, allocations: 1.237 MB / 1.489 GB, free: 10.08 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5055, allocations: 0 / 1.489 GB, free: 10.08 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5055, allocations: 0 / 1.489 GB, free: 10.08 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.011e-05/0.5055, allocations: 7.938 kB / 1.489 GB, free: 10.07 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.002573/0.5081, allocations: 1.505 MB / 1.491 GB, free: 8.531 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.5081, allocations: 8.031 kB / 1.491 GB, free: 8.523 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.5083, allocations: 148 kB / 1.491 GB, free: 8.379 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009615/0.5093, allocations: 0.6065 MB / 1.492 GB, free: 7.73 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.5094, allocations: 100.3 kB / 1.492 GB, free: 7.621 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.53e-05/0.5095, allocations: 51.98 kB / 1.492 GB, free: 7.57 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.5105, allocations: 0.5184 MB / 1.492 GB, free: 7.039 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.5106, allocations: 0 / 1.492 GB, free: 7.039 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/0.5106, allocations: 16 kB / 1.492 GB, free: 7.023 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.5106, allocations: 8 kB / 1.492 GB, free: 7.016 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009074/0.5115, allocations: 423.7 kB / 1.493 GB, free: 6.602 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.003361/0.5149, allocations: 1.845 MB / 1.495 GB, free: 4.715 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.516, allocations: 429.6 kB / 1.495 GB, free: 4.285 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005935/0.5166, allocations: 267.1 kB / 1.495 GB, free: 4.023 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.5166, allocations: 4.328 kB / 1.495 GB, free: 4.02 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006107/0.5172, allocations: 306.5 kB / 1.496 GB, free: 3.711 MB / 1.186 GB Notification: Performance of pre-optimization done (n=45): time 2.044e-06/0.5172, allocations: 0 / 1.496 GB, free: 3.711 MB / 1.186 GB Notification: Performance of matching and sorting (n=45): time 0.003134/0.5204, allocations: 1.108 MB / 1.497 GB, free: 2.59 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.5204, allocations: 55.41 kB / 1.497 GB, free: 2.523 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.5224, allocations: 1.767 MB / 1.498 GB, free: 0.7461 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.5224, allocations: 41.69 kB / 1.498 GB, free: 0.6992 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004784/0.5229, allocations: 0.5181 MB / 1.499 GB, free: 180 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.5231, allocations: 154.8 kB / 1.499 GB, free: 24 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.5232, allocations: 94.34 kB / 1.499 GB, free: 15.93 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5234, allocations: 326.4 kB / 1.499 GB, free: 15.6 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005242/0.5239, allocations: 221.2 kB / 1.5 GB, free: 15.38 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/0.5245, allocations: 329.8 kB / 1.5 GB, free: 15.02 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009871/0.5255, allocations: 0.5173 MB / 1.5 GB, free: 14.46 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.5255, allocations: 7.938 kB / 1.501 GB, free: 14.46 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001752/0.5272, allocations: 0.8438 MB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.5273, allocations: 8 kB / 1.501 GB, free: 13.6 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5273, allocations: 0 / 1.501 GB, free: 13.6 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005647/0.5278, allocations: 186.3 kB / 1.502 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.5282, allocations: 95.81 kB / 1.502 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003773/0.532, allocations: 2.837 MB / 1.504 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.5324, allocations: 71.75 kB / 1.504 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.5324, allocations: 20 kB / 1.504 GB, free: 10.3 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,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * 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.0004828/0.5329, allocations: 391.8 kB / 1.505 GB, free: 9.902 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.5331, allocations: 127.1 kB / 1.505 GB, free: 9.777 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.5347, allocations: 0.7668 MB / 1.506 GB, free: 8.992 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5347, allocations: 7.938 kB / 1.506 GB, free: 8.984 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.5347, allocations: 4 kB / 1.506 GB, free: 8.98 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.5347, allocations: 3.984 kB / 1.506 GB, free: 8.977 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/0.5373, allocations: 1.443 MB / 1.507 GB, free: 7.492 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5373, allocations: 0 / 1.507 GB, free: 7.492 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.5376, allocations: 47.95 kB / 1.507 GB, free: 7.445 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005164/0.5381, allocations: 193.5 kB / 1.507 GB, free: 7.25 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.5381, allocations: 15.98 kB / 1.507 GB, free: 7.234 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004786/0.5429, allocations: 4.27 MB / 1.512 GB, free: 2.762 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5429, allocations: 0 / 1.512 GB, free: 2.762 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.5449, allocations: 1.084 MB / 1.513 GB, free: 1.66 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.5452, allocations: 147.1 kB / 1.513 GB, free: 1.516 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.57e-05/0.5453, allocations: 12 kB / 1.513 GB, free: 1.504 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.5457, allocations: 31.95 kB / 1.513 GB, free: 1.473 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.5458, allocations: 56.34 kB / 1.513 GB, free: 1.418 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.5458, allocations: 11.98 kB / 1.513 GB, free: 1.406 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001465/0.5473, allocations: 1.292 MB / 1.514 GB, free: 112 kB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5473, allocations: 0 / 1.514 GB, free: 112 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007752/0.5481, allocations: 207.7 kB / 1.514 GB, free: 15.9 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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 (30): * Single equations (assignments): 22 * 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.002007/0.5501, allocations: 0.5045 MB / 1.515 GB, free: 15.61 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.5517, allocations: 0.7021 MB / 1.515 GB, free: 14.9 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.5517, allocations: 4 kB / 1.515 GB, free: 14.89 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009875/0.5527, allocations: 0.5506 MB / 1.516 GB, free: 14.31 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009844/0.5537, allocations: 201.3 kB / 1.516 GB, free: 14.13 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.5574, allocations: 2.425 MB / 1.519 GB, free: 11.68 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006509/0.5581, allocations: 0.5622 MB / 1.519 GB, free: 11.08 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003367/0.5584, allocations: 88.56 kB / 1.519 GB, free: 10.99 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.5585, allocations: 43.42 kB / 1.519 GB, free: 10.95 MB / 1.217 GB Notification: Performance of SimCode: time 7.11e-07/0.5586, allocations: 4 kB / 1.519 GB, free: 10.94 MB / 1.217 GB Notification: Performance of Templates: time 0.02256/0.5811, allocations: 12.25 MB / 1.531 GB, free: 14.88 MB / 1.232 GB " [Timeout remaining time 299] 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 -s gbode -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: 10.821094844999607]