Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.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.001295/0.001295, 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.001443/0.001443, allocations: 210.5 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.18/3.18, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1") [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.002103/0.002103, allocations: 75 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3566, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2937/0.6504, allocations: 143.1 MB / 1.467 GB, free: 1.359 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004486/0.6548, allocations: 2.747 MB / 1.469 GB, free: 14.61 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.6551, allocations: 19.81 kB / 1.47 GB, free: 14.59 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006128/0.6557, allocations: 198.8 kB / 1.47 GB, free: 14.39 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.6575, allocations: 0.8051 MB / 1.47 GB, free: 13.58 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.6582, allocations: 361.9 kB / 1.471 GB, free: 13.23 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001186/0.6594, allocations: 0.9766 MB / 1.472 GB, free: 12.25 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.6597, allocations: 214.5 kB / 1.472 GB, free: 12.04 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006068/0.6603, allocations: 382.6 kB / 1.472 GB, free: 11.66 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008169/0.6611, allocations: 321.4 kB / 1.473 GB, free: 11.35 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.093e-05/0.6612, allocations: 32 kB / 1.473 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008869/0.6621, allocations: 0.5337 MB / 1.473 GB, free: 10.79 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.6622, allocations: 139.5 kB / 1.473 GB, free: 10.65 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.6624, allocations: 179.2 kB / 1.474 GB, free: 10.47 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.000986/0.6634, allocations: 0.7397 MB / 1.474 GB, free: 9.73 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6634, allocations: 0 / 1.474 GB, free: 9.73 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6634, allocations: 0 / 1.474 GB, free: 9.73 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6634, allocations: 0 / 1.474 GB, free: 9.73 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001185/0.6646, allocations: 0.6485 MB / 1.475 GB, free: 9.051 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.6647, allocations: 8.031 kB / 1.475 GB, free: 9.043 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.666, allocations: 147.5 kB / 1.475 GB, free: 8.898 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.6666, allocations: 356 kB / 1.475 GB, free: 8.52 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.6667, allocations: 24.5 kB / 1.475 GB, free: 8.496 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.6667, allocations: 24 kB / 1.475 GB, free: 8.473 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/0.6673, allocations: 381.5 kB / 1.476 GB, free: 8.066 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.6673, allocations: 0 / 1.476 GB, free: 8.066 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.6673, allocations: 8 kB / 1.476 GB, free: 8.059 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.6673, allocations: 12.5 kB / 1.476 GB, free: 8.047 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/0.6677, allocations: 189.9 kB / 1.476 GB, free: 7.859 MB / 1.17 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.00156/0.6693, allocations: 0.8042 MB / 1.477 GB, free: 7.023 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.6697, allocations: 192.5 kB / 1.477 GB, free: 6.828 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.6698, allocations: 80.83 kB / 1.477 GB, free: 6.746 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.6698, allocations: 0 / 1.477 GB, free: 6.746 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.6699, allocations: 38.91 kB / 1.477 GB, free: 6.699 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.212e-06/0.6699, allocations: 4 kB / 1.477 GB, free: 6.695 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.0009345/0.6708, allocations: 319.1 kB / 1.477 GB, free: 6.375 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.6708, allocations: 55.41 kB / 1.477 GB, free: 6.309 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.6712, allocations: 296.5 kB / 1.478 GB, free: 6.012 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.6712, allocations: 29.7 kB / 1.478 GB, free: 5.977 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.6714, allocations: 204.6 kB / 1.478 GB, free: 5.773 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.802e-05/0.6715, allocations: 71.38 kB / 1.478 GB, free: 5.703 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.491e-05/0.6716, allocations: 45.7 kB / 1.478 GB, free: 5.652 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.6717, allocations: 338.8 kB / 1.478 GB, free: 5.312 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.6719, allocations: 63.97 kB / 1.478 GB, free: 5.25 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.6721, allocations: 121.8 kB / 1.479 GB, free: 5.109 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.6724, allocations: 199.2 kB / 1.479 GB, free: 4.895 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6724, allocations: 0 / 1.479 GB, free: 4.895 MB / 1.17 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004158/0.6728, allocations: 246.8 kB / 1.479 GB, free: 4.648 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.6728, allocations: 8 kB / 1.479 GB, free: 4.641 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6728, allocations: 3.938 kB / 1.479 GB, free: 4.637 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.6728, allocations: 4 kB / 1.479 GB, free: 4.633 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.6731, allocations: 43.92 kB / 1.479 GB, free: 4.59 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.6731, allocations: 12.17 kB / 1.479 GB, free: 4.578 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.6734, allocations: 23.78 kB / 1.479 GB, free: 4.555 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.6734, allocations: 8 kB / 1.479 GB, free: 4.547 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.6736, allocations: 161.7 kB / 1.479 GB, free: 4.379 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/0.6737, allocations: 27.86 kB / 1.479 GB, free: 4.352 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.709e-05/0.6737, allocations: 42.23 kB / 1.479 GB, free: 4.309 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.6737, allocations: 4 kB / 1.479 GB, free: 4.305 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6738, allocations: 3.938 kB / 1.479 GB, free: 4.301 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.6738, allocations: 3.984 kB / 1.479 GB, free: 4.297 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.6742, allocations: 273.1 kB / 1.48 GB, free: 4 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6742, allocations: 4 kB / 1.48 GB, free: 3.996 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.6744, allocations: 35.98 kB / 1.48 GB, free: 3.961 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002805/0.6747, allocations: 36.83 kB / 1.48 GB, free: 3.922 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.6747, allocations: 11.98 kB / 1.48 GB, free: 3.91 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.6763, allocations: 1.381 MB / 1.481 GB, free: 2.422 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6763, allocations: 64 / 1.481 GB, free: 2.422 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006704/0.677, allocations: 406.5 kB / 1.481 GB, free: 2.008 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.6771, allocations: 55.77 kB / 1.481 GB, free: 1.953 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.6772, allocations: 4 kB / 1.481 GB, free: 1.949 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.6774, allocations: 8 kB / 1.481 GB, free: 1.941 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.6775, allocations: 15.91 kB / 1.481 GB, free: 1.926 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.6775, allocations: 8 kB / 1.481 GB, free: 1.918 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002403/0.6777, allocations: 207.1 kB / 1.482 GB, free: 1.719 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6777, allocations: 4 kB / 1.482 GB, free: 1.715 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004381/0.6782, allocations: 107.8 kB / 1.482 GB, free: 1.609 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001879/0.6784, allocations: 119.2 kB / 1.482 GB, free: 1.484 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.6787, allocations: 160.1 kB / 1.482 GB, free: 1.328 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6787, allocations: 0 / 1.482 GB, free: 1.328 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.679, allocations: 195.8 kB / 1.482 GB, free: 1.125 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009885/0.68, allocations: 191.8 kB / 1.482 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.6812, allocations: 0.7436 MB / 1.483 GB, free: 172 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.6814, allocations: 202 kB / 1.483 GB, free: 15.95 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002157/0.6816, allocations: 58.92 kB / 1.483 GB, free: 15.9 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-05/0.6817, allocations: 27.44 kB / 1.483 GB, free: 15.87 MB / 1.186 GB Notification: Performance of SimCode: time 3.9e-07/0.6817, allocations: 0 / 1.483 GB, free: 15.87 MB / 1.186 GB Notification: Performance of Templates: time 0.01315/0.6949, allocations: 7.004 MB / 1.49 GB, free: 9.035 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.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.149522168998374]