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.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.001527/0.001527, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001819/0.001819, allocations: 198.2 kB / 22.17 MB, free: 5.211 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.449/1.449, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.813/2.813, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.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: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.89 kB / 1.109 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8852/0.8872, allocations: 168.7 MB / 1.274 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2048/1.092, allocations: 163.1 MB / 1.433 GB, free: 0.7461 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004994/1.097, allocations: 2.944 MB / 1.436 GB, free: 13.8 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005401/1.098, allocations: 19.88 kB / 1.436 GB, free: 13.78 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008221/1.098, allocations: 210.8 kB / 1.436 GB, free: 13.57 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002163/1.101, allocations: 0.805 MB / 1.437 GB, free: 12.76 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008842/1.101, allocations: 348.6 kB / 1.437 GB, free: 12.42 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001388/1.103, allocations: 0.9507 MB / 1.438 GB, free: 11.47 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/1.103, allocations: 210.3 kB / 1.439 GB, free: 11.26 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006016/1.104, allocations: 354.6 kB / 1.439 GB, free: 10.91 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000914/1.105, allocations: 312.5 kB / 1.439 GB, free: 10.61 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.117e-05/1.105, allocations: 36 kB / 1.439 GB, free: 10.57 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/1.106, allocations: 0.6819 MB / 1.44 GB, free: 9.891 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001712/1.106, allocations: 127.6 kB / 1.44 GB, free: 9.766 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002391/1.107, allocations: 219 kB / 1.44 GB, free: 9.551 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001164/1.108, allocations: 0.7552 MB / 1.441 GB, free: 8.793 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.108, allocations: 4 kB / 1.441 GB, free: 8.789 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.643e-06/1.108, allocations: 4 kB / 1.441 GB, free: 8.785 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.175e-06/1.108, allocations: 0 / 1.441 GB, free: 8.785 MB / 1.139 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.001263/1.109, allocations: 0.7315 MB / 1.442 GB, free: 8.004 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/1.109, allocations: 8.031 kB / 1.442 GB, free: 7.996 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/1.11, allocations: 139.6 kB / 1.442 GB, free: 7.859 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/1.111, allocations: 426.6 kB / 1.442 GB, free: 7.402 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/1.111, allocations: 16.56 kB / 1.442 GB, free: 7.387 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.004e-05/1.111, allocations: 31.94 kB / 1.442 GB, free: 7.355 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/1.111, allocations: 275.7 kB / 1.443 GB, free: 7.074 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/1.111, allocations: 0 / 1.443 GB, free: 7.074 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/1.111, allocations: 12 kB / 1.443 GB, free: 7.062 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/1.111, allocations: 12.56 kB / 1.443 GB, free: 7.047 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/1.112, allocations: 198.1 kB / 1.443 GB, free: 6.855 MB / 1.139 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.002009/1.114, allocations: 1.315 MB / 1.444 GB, free: 5.398 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/1.114, allocations: 182.9 kB / 1.444 GB, free: 5.211 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/1.114, allocations: 80.83 kB / 1.444 GB, free: 5.129 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/1.114, allocations: 4 kB / 1.444 GB, free: 5.125 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/1.114, allocations: 42.5 kB / 1.444 GB, free: 5.074 MB / 1.139 GB Notification: Performance of pre-optimization done (n=19): time 1.402e-06/1.114, allocations: 0 / 1.444 GB, free: 5.074 MB / 1.139 GB Notification: Performance of matching and sorting (n=19): time 0.001013/1.115, allocations: 402.1 kB / 1.445 GB, free: 4.656 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/1.115, allocations: 55.34 kB / 1.445 GB, free: 4.59 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/1.116, allocations: 304.5 kB / 1.445 GB, free: 4.289 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/1.116, allocations: 29.7 kB / 1.445 GB, free: 4.254 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/1.116, allocations: 196.3 kB / 1.445 GB, free: 4.059 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.054e-05/1.116, allocations: 71.36 kB / 1.445 GB, free: 3.988 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/1.116, allocations: 49.66 kB / 1.445 GB, free: 3.934 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.116, allocations: 342.8 kB / 1.446 GB, free: 3.59 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/1.116, allocations: 67.91 kB / 1.446 GB, free: 3.523 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/1.117, allocations: 116.6 kB / 1.446 GB, free: 3.391 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/1.117, allocations: 195.9 kB / 1.446 GB, free: 3.18 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.117, allocations: 0 / 1.446 GB, free: 3.18 MB / 1.139 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004006/1.117, allocations: 245.3 kB / 1.446 GB, free: 2.934 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/1.117, allocations: 16.12 kB / 1.446 GB, free: 2.918 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.117, allocations: 0 / 1.446 GB, free: 2.918 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/1.117, allocations: 11.97 kB / 1.446 GB, free: 2.906 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/1.118, allocations: 43.92 kB / 1.446 GB, free: 2.863 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.118, allocations: 4 kB / 1.446 GB, free: 2.859 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/1.118, allocations: 15.89 kB / 1.446 GB, free: 2.844 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/1.118, allocations: 8 kB / 1.446 GB, free: 2.836 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.0001783/1.118, allocations: 158.3 kB / 1.447 GB, free: 2.672 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/1.118, allocations: 35.75 kB / 1.447 GB, free: 2.637 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.807e-05/1.118, allocations: 47.02 kB / 1.447 GB, free: 2.59 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/1.118, allocations: 4 kB / 1.447 GB, free: 2.586 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.118, allocations: 0 / 1.447 GB, free: 2.586 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.118, allocations: 0 / 1.447 GB, free: 2.586 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/1.119, allocations: 409.2 kB / 1.447 GB, free: 2.137 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/1.119, allocations: 0 / 1.447 GB, free: 2.137 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/1.119, allocations: 27.98 kB / 1.447 GB, free: 2.109 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/1.119, allocations: 48.7 kB / 1.447 GB, free: 2.059 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/1.119, allocations: 12 kB / 1.447 GB, free: 2.047 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/1.121, allocations: 1.504 MB / 1.449 GB, free: 412 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.121, allocations: 3.938 kB / 1.449 GB, free: 408 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/1.121, allocations: 398.5 kB / 1.449 GB, free: 15.99 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/1.122, allocations: 140.8 kB / 1.449 GB, free: 15.84 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/1.122, allocations: 7.938 kB / 1.449 GB, free: 15.83 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/1.122, allocations: 8 kB / 1.449 GB, free: 15.82 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/1.122, allocations: 16.05 kB / 1.449 GB, free: 15.8 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/1.122, allocations: 11.98 kB / 1.449 GB, free: 15.79 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000243/1.122, allocations: 219 kB / 1.449 GB, free: 15.58 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.11e-07/1.122, allocations: 0 / 1.449 GB, free: 15.58 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004419/1.123, allocations: 103.8 kB / 1.449 GB, free: 15.48 MB / 1.154 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.0001981/1.123, allocations: 119.3 kB / 1.45 GB, free: 15.35 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003244/1.123, allocations: 161.8 kB / 1.45 GB, free: 15.19 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.123, allocations: 4 kB / 1.45 GB, free: 15.19 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000324/1.123, allocations: 190.6 kB / 1.45 GB, free: 14.99 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/1.124, allocations: 189.4 kB / 1.45 GB, free: 14.81 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/1.126, allocations: 0.7384 MB / 1.451 GB, free: 14.05 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/1.126, allocations: 0.7958 MB / 1.452 GB, free: 13.23 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002201/1.126, allocations: 63.25 kB / 1.452 GB, free: 13.16 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/1.127, allocations: 31.44 kB / 1.452 GB, free: 13.13 MB / 1.154 GB Notification: Performance of SimCode: time 3.71e-07/1.127, allocations: 0 / 1.452 GB, free: 13.13 MB / 1.154 GB Notification: Performance of Templates: time 0.0146/1.141, allocations: 6.262 MB / 1.458 GB, free: 6.98 MB / 1.154 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 -s cvode -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_2/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: 9.342425196897238]