Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.001581/0.001581, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00175/0.00175, allocations: 217.3 kB / 22.25 MB, free: 4.855 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.287/3.287, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.TestCase1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") [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.002241/0.002241, allocations: 74.64 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.333, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1731/0.5061, allocations: 138.5 MB / 1.499 GB, free: 2.539 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0273/0.5334, allocations: 19.72 MB / 1.518 GB, free: 14.77 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.5353, allocations: 71.44 kB / 1.518 GB, free: 14.7 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.5371, allocations: 1.173 MB / 1.52 GB, free: 13.52 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.539, allocations: 0.9107 MB / 1.52 GB, free: 12.61 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.54, allocations: 386.9 kB / 1.521 GB, free: 12.23 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.5417, allocations: 1.282 MB / 1.522 GB, free: 10.94 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008885/0.5426, allocations: 0.5352 MB / 1.523 GB, free: 10.4 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008844/0.5435, allocations: 0.5686 MB / 1.523 GB, free: 9.832 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.5448, allocations: 0.9877 MB / 1.524 GB, free: 8.84 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.5449, allocations: 64 kB / 1.524 GB, free: 8.777 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003093/0.5453, allocations: 115.9 kB / 1.524 GB, free: 8.664 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003077/0.5456, allocations: 320.7 kB / 1.525 GB, free: 8.352 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004527/0.546, allocations: 377.5 kB / 1.525 GB, free: 7.98 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.5474, allocations: 1.245 MB / 1.526 GB, free: 6.73 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5474, allocations: 0 / 1.526 GB, free: 6.73 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5474, allocations: 4 kB / 1.526 GB, free: 6.727 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.876e-05/0.5475, allocations: 0 / 1.526 GB, free: 6.727 MB / 1.217 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.002607/0.5501, allocations: 1.497 MB / 1.528 GB, free: 5.191 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5501, allocations: 12.03 kB / 1.528 GB, free: 5.18 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.5503, allocations: 140 kB / 1.528 GB, free: 5.043 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.5513, allocations: 0.6104 MB / 1.528 GB, free: 4.391 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.5515, allocations: 104.3 kB / 1.528 GB, free: 4.277 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.351e-05/0.5516, allocations: 48 kB / 1.529 GB, free: 4.23 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009951/0.5526, allocations: 0.5145 MB / 1.529 GB, free: 3.707 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.5526, allocations: 7.984 kB / 1.529 GB, free: 3.699 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/0.5526, allocations: 16 kB / 1.529 GB, free: 3.684 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.5526, allocations: 8 kB / 1.529 GB, free: 3.676 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009063/0.5536, allocations: 419.7 kB / 1.529 GB, free: 3.262 MB / 1.217 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.003378/0.5569, allocations: 1.773 MB / 1.531 GB, free: 1.457 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.558, allocations: 421.4 kB / 1.532 GB, free: 1.035 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006873/0.5586, allocations: 289.2 kB / 1.532 GB, free: 0.75 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.5587, allocations: 8.266 kB / 1.532 GB, free: 0.7422 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005876/0.5593, allocations: 288.5 kB / 1.532 GB, free: 460 kB / 1.217 GB Notification: Performance of pre-optimization done (n=44): time 2.384e-06/0.5593, allocations: 0 / 1.532 GB, free: 460 kB / 1.217 GB Notification: Performance of matching and sorting (n=44): time 0.002693/0.5619, allocations: 1.005 MB / 1.533 GB, free: 15.43 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.562, allocations: 55.41 kB / 1.533 GB, free: 15.36 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.564, allocations: 1.771 MB / 1.535 GB, free: 13.58 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.5641, allocations: 37.7 kB / 1.535 GB, free: 13.54 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004846/0.5646, allocations: 0.5297 MB / 1.535 GB, free: 13 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.5647, allocations: 154.7 kB / 1.536 GB, free: 12.85 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.5649, allocations: 94.34 kB / 1.536 GB, free: 12.75 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.565, allocations: 334 kB / 1.536 GB, free: 12.42 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.5655, allocations: 209.2 kB / 1.536 GB, free: 12.21 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/0.5661, allocations: 344.1 kB / 1.537 GB, free: 11.83 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009917/0.5671, allocations: 0.526 MB / 1.537 GB, free: 11.25 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.5671, allocations: 4 kB / 1.537 GB, free: 11.25 MB / 1.232 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001654/0.5688, allocations: 0.8159 MB / 1.538 GB, free: 10.43 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5688, allocations: 8 kB / 1.538 GB, free: 10.42 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5688, allocations: 7.938 kB / 1.538 GB, free: 10.41 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/0.5692, allocations: 128.8 kB / 1.538 GB, free: 10.28 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.5696, allocations: 112 kB / 1.538 GB, free: 10.17 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/0.5726, allocations: 2.446 MB / 1.541 GB, free: 7.629 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.573, allocations: 67.77 kB / 1.541 GB, free: 7.562 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.5731, allocations: 27.92 kB / 1.541 GB, free: 7.535 MB / 1.232 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,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 (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.00051/0.5736, allocations: 391.2 kB / 1.541 GB, free: 7.145 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.5737, allocations: 123.2 kB / 1.541 GB, free: 7.023 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.5752, allocations: 0.7124 MB / 1.542 GB, free: 6.301 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5752, allocations: 4 kB / 1.542 GB, free: 6.297 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5752, allocations: 11.94 kB / 1.542 GB, free: 6.285 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.5752, allocations: 0 / 1.542 GB, free: 6.285 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.5777, allocations: 1.374 MB / 1.543 GB, free: 4.871 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.5777, allocations: 0 / 1.543 GB, free: 4.871 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.5779, allocations: 51.91 kB / 1.543 GB, free: 4.82 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000403/0.5783, allocations: 160.4 kB / 1.543 GB, free: 4.66 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.384e-05/0.5784, allocations: 27.92 kB / 1.543 GB, free: 4.633 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004108/0.5825, allocations: 3.956 MB / 1.547 GB, free: 484 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.5825, allocations: 3.984 kB / 1.547 GB, free: 480 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.5844, allocations: 1.013 MB / 1.548 GB, free: 15.43 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/0.5847, allocations: 147.1 kB / 1.548 GB, free: 15.29 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.5848, allocations: 8 kB / 1.548 GB, free: 15.28 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.5851, allocations: 27.97 kB / 1.548 GB, free: 15.25 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.5852, allocations: 59.89 kB / 1.548 GB, free: 15.19 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.5853, allocations: 19.98 kB / 1.548 GB, free: 15.17 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001546/0.5868, allocations: 1.289 MB / 1.55 GB, free: 13.88 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.5868, allocations: 0 / 1.55 GB, free: 13.88 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0007666/0.5876, allocations: 203.7 kB / 1.55 GB, free: 13.68 MB / 1.248 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,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.00198/0.5895, allocations: 0.5086 MB / 1.55 GB, free: 13.38 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.5911, allocations: 0.6507 MB / 1.551 GB, free: 12.71 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5911, allocations: 0 / 1.551 GB, free: 12.71 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009226/0.592, allocations: 0.5246 MB / 1.552 GB, free: 12.16 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.593, allocations: 208.2 kB / 1.552 GB, free: 11.97 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.5973, allocations: 2.388 MB / 1.554 GB, free: 9.547 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000799/0.5981, allocations: 0.5583 MB / 1.555 GB, free: 8.953 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0003187/0.5984, allocations: 92.66 kB / 1.555 GB, free: 8.863 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.5985, allocations: 47.38 kB / 1.555 GB, free: 8.816 MB / 1.248 GB Notification: Performance of SimCode: time 6.02e-07/0.5985, allocations: 4 kB / 1.555 GB, free: 8.812 MB / 1.248 GB Notification: Performance of Templates: time 0.02264/0.6212, allocations: 11.67 MB / 1.566 GB, free: 13.32 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.31205990538001]