Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001526/0.001526, allocations: 110.5 kB / 17.08 MB, free: 5.766 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.001624/0.001624, allocations: 189.2 kB / 20.03 MB, free: 2.906 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.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437 MB / 0.7177 GB, free: 4.543 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001987, allocations: 59.91 kB / 1.028 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3038, allocations: 151.6 MB / 1.176 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.7908/1.095, allocations: 162.4 MB / 1.334 GB, free: 6.621 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004871/1.1, allocations: 2.916 MB / 1.337 GB, free: 4.566 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000601/1.1, allocations: 14.19 kB / 1.337 GB, free: 4.562 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007481/1.101, allocations: 206.4 kB / 1.337 GB, free: 4.449 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00215/1.103, allocations: 0.7733 MB / 1.338 GB, free: 4.016 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/1.104, allocations: 344.3 kB / 1.339 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00147/1.106, allocations: 0.9503 MB / 1.339 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003793/1.106, allocations: 253.8 kB / 1.34 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005955/1.107, allocations: 330.7 kB / 1.34 GB, free: 3.109 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008725/1.108, allocations: 285 kB / 1.34 GB, free: 2.992 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.04e-05/1.108, allocations: 32.94 kB / 1.34 GB, free: 2.992 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/1.109, allocations: 0.6532 MB / 1.341 GB, free: 2.727 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/1.109, allocations: 132.6 kB / 1.341 GB, free: 2.664 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002441/1.109, allocations: 216.3 kB / 1.341 GB, free: 2.539 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/1.111, allocations: 0.7583 MB / 1.342 GB, free: 2.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.111, allocations: 0 / 1.342 GB, free: 2.27 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/1.111, allocations: 1.094 kB / 1.342 GB, free: 2.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.111, allocations: 0 / 1.342 GB, free: 2.27 MB / 1.014 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.001163/1.112, allocations: 0.7247 MB / 1.343 GB, free: 1.688 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/1.112, allocations: 9.25 kB / 1.343 GB, free: 1.688 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009956/1.113, allocations: 144 kB / 1.343 GB, free: 1.652 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007218/1.114, allocations: 421.8 kB / 1.343 GB, free: 1.336 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/1.114, allocations: 17.81 kB / 1.343 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/1.114, allocations: 25.45 kB / 1.343 GB, free: 1.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/1.114, allocations: 280.6 kB / 1.344 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/1.114, allocations: 1.156 kB / 1.344 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/1.114, allocations: 10.19 kB / 1.344 GB, free: 1.172 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/1.114, allocations: 11.12 kB / 1.344 GB, free: 1.172 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/1.115, allocations: 202.2 kB / 1.344 GB, free: 1.098 MB / 1.014 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.001865/1.117, allocations: 1.321 MB / 1.345 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/1.117, allocations: 192.6 kB / 1.345 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/1.117, allocations: 89.58 kB / 1.345 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/1.117, allocations: 5.25 kB / 1.345 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/1.117, allocations: 33.25 kB / 1.345 GB, free: 15.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.214e-06/1.117, allocations: 0 / 1.345 GB, free: 15.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0009925/1.118, allocations: 408.9 kB / 1.346 GB, free: 15.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/1.118, allocations: 57.19 kB / 1.346 GB, free: 15.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/1.119, allocations: 297.6 kB / 1.346 GB, free: 15.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/1.119, allocations: 32.02 kB / 1.346 GB, free: 15.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/1.119, allocations: 195.4 kB / 1.346 GB, free: 15.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.053e-05/1.119, allocations: 74.53 kB / 1.346 GB, free: 15.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.881e-05/1.119, allocations: 43.48 kB / 1.346 GB, free: 15.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.119, allocations: 339.6 kB / 1.347 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/1.119, allocations: 63.73 kB / 1.347 GB, free: 14.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/1.119, allocations: 117.5 kB / 1.347 GB, free: 14.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/1.12, allocations: 196.3 kB / 1.347 GB, free: 14.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.12, allocations: 4 kB / 1.347 GB, free: 14.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003743/1.12, allocations: 245.1 kB / 1.347 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.12, allocations: 10.31 kB / 1.347 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/1.12, allocations: 5.141 kB / 1.347 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.12, allocations: 4.188 kB / 1.347 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/1.12, allocations: 45.08 kB / 1.347 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/1.12, allocations: 2.625 kB / 1.347 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/1.121, allocations: 16.8 kB / 1.347 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/1.121, allocations: 14.97 kB / 1.348 GB, free: 14.38 MB / 1.029 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.0001789/1.121, allocations: 157.5 kB / 1.348 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/1.121, allocations: 35.19 kB / 1.348 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.581e-05/1.121, allocations: 40.61 kB / 1.348 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.121, allocations: 2.281 kB / 1.348 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.121, allocations: 1.312 kB / 1.348 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.121, allocations: 3.938 kB / 1.348 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005269/1.122, allocations: 409.7 kB / 1.348 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.122, allocations: 0 / 1.348 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/1.122, allocations: 36.25 kB / 1.348 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002137/1.122, allocations: 47.7 kB / 1.348 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/1.122, allocations: 8.281 kB / 1.348 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/1.123, allocations: 1.509 MB / 1.35 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.123, allocations: 3.938 kB / 1.35 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/1.124, allocations: 404.7 kB / 1.35 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/1.124, allocations: 131.3 kB / 1.35 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/1.124, allocations: 9.406 kB / 1.35 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/1.125, allocations: 5.938 kB / 1.35 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/1.125, allocations: 12.61 kB / 1.35 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/1.125, allocations: 12.25 kB / 1.35 GB, free: 11.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002289/1.125, allocations: 213.1 kB / 1.35 GB, free: 11.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.125, allocations: 0 / 1.35 GB, free: 11.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004294/1.125, allocations: 107.4 kB / 1.351 GB, free: 11.86 MB / 1.029 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.0001894/1.125, allocations: 114 kB / 1.351 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003135/1.126, allocations: 168.8 kB / 1.351 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.126, allocations: 0 / 1.351 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003127/1.126, allocations: 202.1 kB / 1.351 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/1.127, allocations: 196.8 kB / 1.351 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/1.128, allocations: 0.7689 MB / 1.352 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/1.129, allocations: 0.7953 MB / 1.353 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/1.129, allocations: 28.28 kB / 1.353 GB, free: 10.27 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/1.129, allocations: 0 / 1.353 GB, free: 10.27 MB / 1.029 GB Notification: Performance of Templates: time 0.00917/1.138, allocations: 5.756 MB / 1.358 GB, free: 9.711 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.186837296001613]