Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001601/0.001601, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001802/0.001802, allocations: 221.4 kB / 23 MB, free: 4.914 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.761/2.761, allocations: 476 MB / 0.7707 GB, free: 4.699 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002174/0.002174, allocations: 72.47 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3733, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1953/0.5685, allocations: 143.1 MB / 1.423 GB, free: 12.32 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005313/0.5739, allocations: 2.735 MB / 1.426 GB, free: 9.574 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006924/0.5745, allocations: 19.88 kB / 1.426 GB, free: 9.555 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008632/0.5754, allocations: 202.8 kB / 1.426 GB, free: 9.355 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.5779, allocations: 0.8167 MB / 1.427 GB, free: 8.535 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.579, allocations: 353.6 kB / 1.428 GB, free: 8.191 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.5806, allocations: 0.9585 MB / 1.428 GB, free: 7.23 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004689/0.5811, allocations: 214.5 kB / 1.429 GB, free: 7.016 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008451/0.5819, allocations: 362.6 kB / 1.429 GB, free: 6.66 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.5831, allocations: 291.6 kB / 1.429 GB, free: 6.379 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.5832, allocations: 32 kB / 1.429 GB, free: 6.348 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.5844, allocations: 0.5375 MB / 1.43 GB, free: 5.809 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.5846, allocations: 131.6 kB / 1.43 GB, free: 5.68 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002905/0.5849, allocations: 175.2 kB / 1.43 GB, free: 5.508 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.5864, allocations: 0.7358 MB / 1.431 GB, free: 4.77 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5864, allocations: 0 / 1.431 GB, free: 4.77 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5864, allocations: 0 / 1.431 GB, free: 4.77 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.131e-05/0.5864, allocations: 0 / 1.431 GB, free: 4.77 MB / 1.123 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.001466/0.5879, allocations: 0.6562 MB / 1.431 GB, free: 4.082 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.5879, allocations: 8.031 kB / 1.431 GB, free: 4.074 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.5891, allocations: 139.6 kB / 1.432 GB, free: 3.938 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007922/0.5899, allocations: 356 kB / 1.432 GB, free: 3.562 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.5899, allocations: 20.5 kB / 1.432 GB, free: 3.543 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-05/0.59, allocations: 27.94 kB / 1.432 GB, free: 3.516 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.5906, allocations: 377.6 kB / 1.432 GB, free: 3.109 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.5906, allocations: 3.984 kB / 1.432 GB, free: 3.105 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.5906, allocations: 12 kB / 1.432 GB, free: 3.094 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.372e-05/0.5907, allocations: 12.48 kB / 1.432 GB, free: 3.082 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.591, allocations: 197.8 kB / 1.433 GB, free: 2.891 MB / 1.123 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.001789/0.5928, allocations: 0.7887 MB / 1.433 GB, free: 2.066 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.5933, allocations: 178.9 kB / 1.434 GB, free: 1.883 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.5934, allocations: 88.83 kB / 1.434 GB, free: 1.793 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.5934, allocations: 3.938 kB / 1.434 GB, free: 1.789 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.5935, allocations: 46.5 kB / 1.434 GB, free: 1.734 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.954e-06/0.5935, allocations: 0 / 1.434 GB, free: 1.734 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.001003/0.5945, allocations: 320.4 kB / 1.434 GB, free: 1.414 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.5945, allocations: 59.39 kB / 1.434 GB, free: 1.344 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.5949, allocations: 296.5 kB / 1.434 GB, free: 1.047 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.595, allocations: 33.7 kB / 1.434 GB, free: 1.008 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.5951, allocations: 200.5 kB / 1.435 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.016e-05/0.5952, allocations: 79.38 kB / 1.435 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.5953, allocations: 41.7 kB / 1.435 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5955, allocations: 334.8 kB / 1.435 GB, free: 356 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.5956, allocations: 67.91 kB / 1.435 GB, free: 288 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.5958, allocations: 119.1 kB / 1.435 GB, free: 148 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.5961, allocations: 192.2 kB / 1.435 GB, free: 15.93 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5961, allocations: 0 / 1.435 GB, free: 15.93 MB / 1.139 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004342/0.5965, allocations: 249.2 kB / 1.436 GB, free: 15.68 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.5966, allocations: 8 kB / 1.436 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5966, allocations: 3.938 kB / 1.436 GB, free: 15.67 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.5966, allocations: 4.188 kB / 1.436 GB, free: 15.67 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.5968, allocations: 47.92 kB / 1.436 GB, free: 15.62 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.5968, allocations: 0 / 1.436 GB, free: 15.62 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.5971, allocations: 15.89 kB / 1.436 GB, free: 15.61 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.5971, allocations: 12 kB / 1.436 GB, free: 15.59 MB / 1.139 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.0001906/0.5973, allocations: 157.8 kB / 1.436 GB, free: 15.43 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.806e-05/0.5974, allocations: 35.75 kB / 1.436 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.947e-05/0.5975, allocations: 42.23 kB / 1.436 GB, free: 15.35 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5975, allocations: 4 kB / 1.436 GB, free: 15.34 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/0.5975, allocations: 3.984 kB / 1.436 GB, free: 15.34 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5975, allocations: 0 / 1.436 GB, free: 15.34 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.598, allocations: 281 kB / 1.436 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.598, allocations: 7.984 kB / 1.436 GB, free: 15.03 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.5982, allocations: 27.98 kB / 1.436 GB, free: 15 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002321/0.5984, allocations: 44.83 kB / 1.436 GB, free: 14.96 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.5984, allocations: 11.92 kB / 1.436 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.5998, allocations: 1.378 MB / 1.438 GB, free: 13.47 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.5999, allocations: 4 kB / 1.438 GB, free: 13.46 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006242/0.6005, allocations: 402.3 kB / 1.438 GB, free: 13.05 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.6006, allocations: 51.73 kB / 1.438 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.6007, allocations: 4 kB / 1.438 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.6009, allocations: 11.98 kB / 1.438 GB, free: 12.99 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.601, allocations: 11.92 kB / 1.438 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.601, allocations: 11.98 kB / 1.438 GB, free: 12.96 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002434/0.6012, allocations: 211 kB / 1.438 GB, free: 12.76 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.6012, allocations: 0 / 1.438 GB, free: 12.76 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004709/0.6017, allocations: 107.9 kB / 1.438 GB, free: 12.65 MB / 1.139 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.0002002/0.6019, allocations: 119.2 kB / 1.438 GB, free: 12.53 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003407/0.6023, allocations: 165.8 kB / 1.439 GB, free: 12.37 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6023, allocations: 0 / 1.439 GB, free: 12.37 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003514/0.6026, allocations: 194.6 kB / 1.439 GB, free: 12.16 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009965/0.6036, allocations: 193.4 kB / 1.439 GB, free: 11.98 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.605, allocations: 0.7766 MB / 1.44 GB, free: 11.16 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.6053, allocations: 190 kB / 1.44 GB, free: 10.96 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.799e-05/0.6054, allocations: 27.44 kB / 1.44 GB, free: 10.93 MB / 1.139 GB Notification: Performance of SimCode: time 6.72e-07/0.6054, allocations: 0 / 1.44 GB, free: 10.93 MB / 1.139 GB Notification: Performance of Templates: time 0.01075/0.6161, allocations: 5.86 MB / 1.446 GB, free: 5.125 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.668493535835296]