Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 189.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.817/2.817, allocations: 0.4893 GB / 0.7884 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 62.73 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2784, allocations: 174.9 MB / 1.316 GB, free: 9.684 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1701/0.4485, allocations: 157.9 MB / 1.47 GB, free: 11.2 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02484/0.4733, allocations: 22 MB / 1.492 GB, free: 5.125 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.4748, allocations: 75.38 kB / 1.492 GB, free: 5.051 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.4765, allocations: 1.348 MB / 1.493 GB, free: 3.699 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.4779, allocations: 0.9925 MB / 1.494 GB, free: 2.703 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.4791, allocations: 0.5359 MB / 1.495 GB, free: 2.172 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.4805, allocations: 1.45 MB / 1.496 GB, free: 0.7188 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007161/0.4812, allocations: 0.6176 MB / 1.497 GB, free: 88 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007292/0.4819, allocations: 0.6698 MB / 1.497 GB, free: 15.41 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.4832, allocations: 1.203 MB / 1.498 GB, free: 14.21 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.4833, allocations: 79.94 kB / 1.498 GB, free: 14.13 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.4836, allocations: 120 kB / 1.499 GB, free: 14.01 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.4839, allocations: 384.4 kB / 1.499 GB, free: 13.64 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004531/0.4843, allocations: 0.5471 MB / 1.499 GB, free: 13.09 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.4857, allocations: 1.369 MB / 1.501 GB, free: 11.71 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4857, allocations: 0 / 1.501 GB, free: 11.71 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4857, allocations: 0 / 1.501 GB, free: 11.71 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.4857, allocations: 3.938 kB / 1.501 GB, free: 11.71 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002439/0.4881, allocations: 1.709 MB / 1.502 GB, free: 9.953 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4882, allocations: 12.03 kB / 1.503 GB, free: 9.941 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.4884, allocations: 167.9 kB / 1.503 GB, free: 9.777 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009497/0.4894, allocations: 0.6912 MB / 1.503 GB, free: 9.047 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.4895, allocations: 82.62 kB / 1.503 GB, free: 8.961 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.35e-05/0.4896, allocations: 52 kB / 1.503 GB, free: 8.91 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.4906, allocations: 0.5653 MB / 1.504 GB, free: 8.332 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.4906, allocations: 0 / 1.504 GB, free: 8.332 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.4907, allocations: 24 kB / 1.504 GB, free: 8.309 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.4907, allocations: 12 kB / 1.504 GB, free: 8.297 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008583/0.4915, allocations: 455.6 kB / 1.504 GB, free: 7.852 MB / 1.201 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.003675/0.4952, allocations: 2.958 MB / 1.507 GB, free: 4.629 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.4962, allocations: 472.2 kB / 1.508 GB, free: 4.16 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005685/0.4968, allocations: 297.4 kB / 1.508 GB, free: 3.867 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/0.4968, allocations: 12.3 kB / 1.508 GB, free: 3.855 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005896/0.4974, allocations: 325.1 kB / 1.508 GB, free: 3.527 MB / 1.201 GB Notification: Performance of pre-optimization done (n=52): time 1.844e-06/0.4974, allocations: 0 / 1.508 GB, free: 3.527 MB / 1.201 GB Notification: Performance of matching and sorting (n=52): time 0.002887/0.5003, allocations: 1.202 MB / 1.51 GB, free: 2.312 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.5003, allocations: 55.84 kB / 1.51 GB, free: 2.242 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.5025, allocations: 2.128 MB / 1.512 GB, free: 104 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.5025, allocations: 41.7 kB / 1.512 GB, free: 56 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005209/0.503, allocations: 0.6249 MB / 1.512 GB, free: 15.43 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.5032, allocations: 178.6 kB / 1.513 GB, free: 15.25 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.5033, allocations: 102.3 kB / 1.513 GB, free: 15.14 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5035, allocations: 330 kB / 1.513 GB, free: 14.81 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/0.504, allocations: 237.2 kB / 1.513 GB, free: 14.58 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005633/0.5045, allocations: 341.9 kB / 1.514 GB, free: 14.21 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009484/0.5055, allocations: 0.5565 MB / 1.514 GB, free: 13.61 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5055, allocations: 0 / 1.514 GB, free: 13.61 MB / 1.217 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001657/0.5072, allocations: 0.9124 MB / 1.515 GB, free: 12.69 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.5072, allocations: 4.188 kB / 1.515 GB, free: 12.69 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.5072, allocations: 8 kB / 1.515 GB, free: 12.68 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004985/0.5077, allocations: 190.6 kB / 1.515 GB, free: 12.49 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.508, allocations: 107.8 kB / 1.515 GB, free: 12.39 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.5116, allocations: 2.955 MB / 1.518 GB, free: 9.324 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003902/0.512, allocations: 87.64 kB / 1.518 GB, free: 9.238 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.512, allocations: 20 kB / 1.518 GB, free: 9.219 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.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,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004978/0.5125, allocations: 436.6 kB / 1.519 GB, free: 8.785 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.5127, allocations: 147 kB / 1.519 GB, free: 8.641 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.5142, allocations: 0.8433 MB / 1.52 GB, free: 7.773 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.5142, allocations: 11.94 kB / 1.52 GB, free: 7.762 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5142, allocations: 4 kB / 1.52 GB, free: 7.758 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5143, allocations: 3.984 kB / 1.52 GB, free: 7.754 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/0.5169, allocations: 1.706 MB / 1.521 GB, free: 5.992 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5169, allocations: 3.984 kB / 1.521 GB, free: 5.988 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.5171, allocations: 47.91 kB / 1.521 GB, free: 5.941 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/0.5175, allocations: 201.6 kB / 1.522 GB, free: 5.738 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.5176, allocations: 8 kB / 1.522 GB, free: 5.73 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004366/0.5219, allocations: 4.394 MB / 1.526 GB, free: 1.117 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5219, allocations: 4.031 kB / 1.526 GB, free: 1.113 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.5239, allocations: 1.175 MB / 1.527 GB, free: 15.91 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/0.5242, allocations: 167 kB / 1.527 GB, free: 15.75 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.179e-05/0.5242, allocations: 12 kB / 1.527 GB, free: 15.74 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.5246, allocations: 35.97 kB / 1.527 GB, free: 15.7 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.5247, allocations: 64.31 kB / 1.527 GB, free: 15.64 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.5247, allocations: 12 kB / 1.527 GB, free: 15.63 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001622/0.5264, allocations: 1.556 MB / 1.529 GB, free: 14.07 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5264, allocations: 0 / 1.529 GB, free: 14.07 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0007069/0.5271, allocations: 223.7 kB / 1.529 GB, free: 13.86 MB / 1.232 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.001639/0.5287, allocations: 484.3 kB / 1.529 GB, free: 13.56 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.5302, allocations: 0.743 MB / 1.53 GB, free: 12.8 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5302, allocations: 7.938 kB / 1.53 GB, free: 12.8 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0008766/0.5311, allocations: 0.5426 MB / 1.531 GB, free: 12.22 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009265/0.532, allocations: 230.3 kB / 1.531 GB, free: 12.01 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/0.5359, allocations: 2.836 MB / 1.534 GB, free: 9.137 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009122/0.5368, allocations: 1.243 MB / 1.535 GB, free: 7.863 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002584/0.537, allocations: 101.1 kB / 1.535 GB, free: 7.762 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.5372, allocations: 59.42 kB / 1.535 GB, free: 7.703 MB / 1.232 GB Notification: Performance of SimCode: time 3.5e-07/0.5372, allocations: 0 / 1.535 GB, free: 7.703 MB / 1.232 GB Notification: Performance of Templates: time 0.02092/0.5581, allocations: 11.97 MB / 1.547 GB, free: 11.86 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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: 9.13303624279797]