Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001635/0.001635, 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.002687/0.002687, allocations: 213.4 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.801 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.335/3.335, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_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_latest_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.00207/0.00207, allocations: 66.53 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3806, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2062/0.5867, allocations: 143.1 MB / 1.504 GB, free: 13.93 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00553/0.5923, allocations: 2.739 MB / 1.506 GB, free: 11.18 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007496/0.593, allocations: 23.81 kB / 1.506 GB, free: 11.16 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.594, allocations: 198.9 kB / 1.506 GB, free: 10.96 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002853/0.5969, allocations: 0.8089 MB / 1.507 GB, free: 10.15 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.598, allocations: 353.3 kB / 1.508 GB, free: 9.805 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001765/0.5998, allocations: 0.9624 MB / 1.509 GB, free: 8.84 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005085/0.6003, allocations: 206.5 kB / 1.509 GB, free: 8.637 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.6013, allocations: 398.5 kB / 1.509 GB, free: 8.246 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.6026, allocations: 299 kB / 1.509 GB, free: 7.957 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.6027, allocations: 32 kB / 1.509 GB, free: 7.926 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.604, allocations: 0.5298 MB / 1.51 GB, free: 7.395 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.6043, allocations: 139.5 kB / 1.51 GB, free: 7.258 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.6046, allocations: 179.2 kB / 1.51 GB, free: 7.082 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.6062, allocations: 0.7319 MB / 1.511 GB, free: 6.348 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6062, allocations: 0 / 1.511 GB, free: 6.348 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6062, allocations: 0 / 1.511 GB, free: 6.348 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.908e-05/0.6062, allocations: 0 / 1.511 GB, free: 6.348 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001562/0.6078, allocations: 0.6562 MB / 1.512 GB, free: 5.66 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.6078, allocations: 12.03 kB / 1.512 GB, free: 5.648 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.609, allocations: 139.6 kB / 1.512 GB, free: 5.512 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.6098, allocations: 356 kB / 1.512 GB, free: 5.137 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.6098, allocations: 20.5 kB / 1.512 GB, free: 5.117 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.989e-05/0.6099, allocations: 27.95 kB / 1.512 GB, free: 5.09 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005972/0.6105, allocations: 377.5 kB / 1.513 GB, free: 4.688 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.6105, allocations: 8 kB / 1.513 GB, free: 4.68 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.6106, allocations: 8 kB / 1.513 GB, free: 4.672 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.6106, allocations: 8.5 kB / 1.513 GB, free: 4.66 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.611, allocations: 197.9 kB / 1.513 GB, free: 4.465 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.001751/0.6127, allocations: 0.8003 MB / 1.514 GB, free: 3.629 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.6131, allocations: 186.8 kB / 1.514 GB, free: 3.438 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.6133, allocations: 84.83 kB / 1.514 GB, free: 3.352 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.6133, allocations: 3.984 kB / 1.514 GB, free: 3.348 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.6133, allocations: 34.56 kB / 1.514 GB, free: 3.305 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.784e-06/0.6133, allocations: 0 / 1.514 GB, free: 3.305 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.0009689/0.6143, allocations: 328 kB / 1.514 GB, free: 2.977 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.6144, allocations: 55.41 kB / 1.514 GB, free: 2.91 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.6147, allocations: 288.6 kB / 1.514 GB, free: 2.617 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.6148, allocations: 29.7 kB / 1.514 GB, free: 2.582 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.6149, allocations: 200.6 kB / 1.515 GB, free: 2.383 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.347e-05/0.615, allocations: 71.42 kB / 1.515 GB, free: 2.312 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.6151, allocations: 45.67 kB / 1.515 GB, free: 2.262 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6152, allocations: 342.8 kB / 1.515 GB, free: 1.918 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.6153, allocations: 63.97 kB / 1.515 GB, free: 1.855 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.6155, allocations: 118.5 kB / 1.515 GB, free: 1.719 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.6158, allocations: 195.9 kB / 1.515 GB, free: 1.508 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6158, allocations: 0 / 1.515 GB, free: 1.508 MB / 1.201 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004151/0.6162, allocations: 249.3 kB / 1.516 GB, free: 1.258 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.6162, allocations: 4 kB / 1.516 GB, free: 1.254 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.6162, allocations: 7.938 kB / 1.516 GB, free: 1.246 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.6163, allocations: 3.938 kB / 1.516 GB, free: 1.242 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.6165, allocations: 43.97 kB / 1.516 GB, free: 1.199 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.6165, allocations: 7.938 kB / 1.516 GB, free: 1.191 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.6167, allocations: 15.89 kB / 1.516 GB, free: 1.176 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.6168, allocations: 12.19 kB / 1.516 GB, free: 1.164 MB / 1.201 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.0001842/0.617, allocations: 161.8 kB / 1.516 GB, free: 0.9961 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.741e-05/0.617, allocations: 35.81 kB / 1.516 GB, free: 0.9609 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.375e-05/0.6171, allocations: 38.23 kB / 1.516 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.6171, allocations: 0 / 1.516 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.6171, allocations: 3.938 kB / 1.516 GB, free: 0.918 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6171, allocations: 4 kB / 1.516 GB, free: 0.9141 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.6176, allocations: 285 kB / 1.516 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.6176, allocations: 0 / 1.516 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.6178, allocations: 31.98 kB / 1.516 GB, free: 0.5742 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.618, allocations: 44.83 kB / 1.516 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.618, allocations: 4 kB / 1.516 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.6194, allocations: 1.389 MB / 1.518 GB, free: 15.03 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6194, allocations: 0 / 1.518 GB, free: 15.03 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.62, allocations: 404.3 kB / 1.518 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.6201, allocations: 51.83 kB / 1.518 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.6202, allocations: 12 kB / 1.518 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.6204, allocations: 4 kB / 1.518 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.6205, allocations: 19.91 kB / 1.518 GB, free: 14.53 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.6205, allocations: 4 kB / 1.518 GB, free: 14.53 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002186/0.6207, allocations: 211.1 kB / 1.518 GB, free: 14.32 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6207, allocations: 0 / 1.518 GB, free: 14.32 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004223/0.6211, allocations: 107.8 kB / 1.519 GB, free: 14.22 MB / 1.217 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.0002013/0.6213, allocations: 111.2 kB / 1.519 GB, free: 14.1 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.6216, allocations: 158.3 kB / 1.519 GB, free: 13.95 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6217, allocations: 0 / 1.519 GB, free: 13.95 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.622, allocations: 198.9 kB / 1.519 GB, free: 13.74 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009844/0.623, allocations: 213.7 kB / 1.519 GB, free: 13.54 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.6244, allocations: 0.732 MB / 1.52 GB, free: 12.78 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.6246, allocations: 186 kB / 1.52 GB, free: 12.58 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002824/0.6249, allocations: 54.94 kB / 1.52 GB, free: 12.53 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.688e-05/0.6249, allocations: 27.44 kB / 1.52 GB, free: 12.5 MB / 1.217 GB Notification: Performance of SimCode: time 3.81e-07/0.6249, allocations: 0 / 1.52 GB, free: 12.5 MB / 1.217 GB Notification: Performance of Templates: time 0.01361/0.6385, allocations: 6.932 MB / 1.527 GB, free: 5.742 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.50806243903935]