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.001823/0.001823, allocations: 110 kB / 18.93 MB, free: 2.945 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.002095/0.002095, allocations: 186.7 kB / 22.22 MB, free: 5.164 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: 225.6 MB / 251 MB, free: 13 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.821/2.821, allocations: 476.7 MB / 0.7646 GB, free: 9.848 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.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.002015/0.002015, allocations: 63.91 kB / 1.109 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9109/0.9129, allocations: 168.8 MB / 1.274 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2117/1.125, allocations: 163.1 MB / 1.434 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00548/1.13, allocations: 2.947 MB / 1.436 GB, free: 13.58 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006541/1.131, allocations: 19.81 kB / 1.436 GB, free: 13.56 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008407/1.132, allocations: 214.8 kB / 1.437 GB, free: 13.35 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002317/1.134, allocations: 0.8245 MB / 1.437 GB, free: 12.52 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009858/1.135, allocations: 356.9 kB / 1.438 GB, free: 12.17 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001504/1.136, allocations: 0.9742 MB / 1.439 GB, free: 11.2 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003816/1.137, allocations: 206.5 kB / 1.439 GB, free: 10.98 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006292/1.137, allocations: 362.6 kB / 1.439 GB, free: 10.63 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009107/1.138, allocations: 309.4 kB / 1.44 GB, free: 10.33 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 7.796e-05/1.138, allocations: 32 kB / 1.44 GB, free: 10.3 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/1.14, allocations: 0.6897 MB / 1.44 GB, free: 9.605 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/1.14, allocations: 135.5 kB / 1.44 GB, free: 9.473 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/1.14, allocations: 223 kB / 1.441 GB, free: 9.254 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/1.142, allocations: 0.754 MB / 1.441 GB, free: 8.5 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.142, allocations: 4 kB / 1.441 GB, free: 8.496 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.312e-06/1.142, allocations: 0 / 1.441 GB, free: 8.496 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.286e-06/1.142, allocations: 0 / 1.441 GB, free: 8.496 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.001241/1.143, allocations: 0.6484 MB / 1.442 GB, free: 7.816 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.143, allocations: 12.03 kB / 1.442 GB, free: 7.805 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/1.144, allocations: 139.6 kB / 1.442 GB, free: 7.668 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006757/1.145, allocations: 356 kB / 1.442 GB, free: 7.293 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/1.145, allocations: 16.5 kB / 1.442 GB, free: 7.277 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/1.145, allocations: 27.95 kB / 1.443 GB, free: 7.25 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/1.145, allocations: 282.7 kB / 1.443 GB, free: 6.965 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.145, allocations: 0 / 1.443 GB, free: 6.965 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/1.145, allocations: 16 kB / 1.443 GB, free: 6.949 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/1.145, allocations: 8.5 kB / 1.443 GB, free: 6.941 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/1.146, allocations: 197.9 kB / 1.443 GB, free: 6.746 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.00192/1.148, allocations: 1.28 MB / 1.444 GB, free: 5.336 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/1.148, allocations: 178.9 kB / 1.444 GB, free: 5.152 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/1.148, allocations: 88.83 kB / 1.445 GB, free: 5.062 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/1.148, allocations: 0 / 1.445 GB, free: 5.062 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/1.148, allocations: 34.56 kB / 1.445 GB, free: 5.02 MB / 1.139 GB Notification: Performance of pre-optimization done (n=19): time 9.32e-07/1.148, allocations: 3.938 kB / 1.445 GB, free: 5.016 MB / 1.139 GB Notification: Performance of matching and sorting (n=19): time 0.0009824/1.149, allocations: 332.8 kB / 1.445 GB, free: 4.684 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/1.149, allocations: 55.41 kB / 1.445 GB, free: 4.617 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/1.15, allocations: 300.5 kB / 1.445 GB, free: 4.316 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/1.15, allocations: 29.7 kB / 1.445 GB, free: 4.281 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/1.15, allocations: 200.2 kB / 1.445 GB, free: 4.082 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/1.15, allocations: 71.42 kB / 1.445 GB, free: 4.012 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/1.15, allocations: 41.67 kB / 1.446 GB, free: 3.965 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.15, allocations: 346.8 kB / 1.446 GB, free: 3.617 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/1.15, allocations: 63.97 kB / 1.446 GB, free: 3.555 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/1.15, allocations: 120 kB / 1.446 GB, free: 3.418 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/1.151, allocations: 196.2 kB / 1.446 GB, free: 3.207 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.151, allocations: 4 kB / 1.446 GB, free: 3.203 MB / 1.139 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004141/1.151, allocations: 253.4 kB / 1.446 GB, free: 2.949 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.151, allocations: 7.938 kB / 1.446 GB, free: 2.941 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.151, allocations: 0 / 1.446 GB, free: 2.941 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/1.151, allocations: 4 kB / 1.446 GB, free: 2.938 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/1.151, allocations: 47.92 kB / 1.447 GB, free: 2.891 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/1.151, allocations: 7.984 kB / 1.447 GB, free: 2.883 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/1.152, allocations: 15.89 kB / 1.447 GB, free: 2.867 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/1.152, allocations: 8 kB / 1.447 GB, free: 2.859 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.0001914/1.152, allocations: 165.7 kB / 1.447 GB, free: 2.688 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.086e-05/1.152, allocations: 35.78 kB / 1.447 GB, free: 2.652 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/1.152, allocations: 39.02 kB / 1.447 GB, free: 2.609 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.152, allocations: 0 / 1.447 GB, free: 2.609 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/1.152, allocations: 0 / 1.447 GB, free: 2.609 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.152, allocations: 0 / 1.447 GB, free: 2.609 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/1.153, allocations: 384.4 kB / 1.447 GB, free: 2.191 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.153, allocations: 0 / 1.447 GB, free: 2.191 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/1.153, allocations: 31.98 kB / 1.447 GB, free: 2.16 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002396/1.153, allocations: 48.77 kB / 1.447 GB, free: 2.109 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/1.153, allocations: 4 kB / 1.447 GB, free: 2.105 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/1.154, allocations: 1.412 MB / 1.449 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.154, allocations: 0 / 1.449 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/1.155, allocations: 406.2 kB / 1.449 GB, free: 168 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.155, allocations: 43.84 kB / 1.449 GB, free: 124 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/1.155, allocations: 15.92 kB / 1.449 GB, free: 108 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/1.155, allocations: 8.062 kB / 1.449 GB, free: 100 kB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/1.155, allocations: 7.984 kB / 1.449 GB, free: 92 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/1.155, allocations: 15.98 kB / 1.449 GB, free: 76 kB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002469/1.156, allocations: 211.1 kB / 1.449 GB, free: 15.87 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.11e-07/1.156, allocations: 0 / 1.449 GB, free: 15.87 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004325/1.156, allocations: 111.8 kB / 1.449 GB, free: 15.76 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.0002002/1.156, allocations: 127.4 kB / 1.45 GB, free: 15.62 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003184/1.157, allocations: 147.9 kB / 1.45 GB, free: 15.48 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.157, allocations: 0 / 1.45 GB, free: 15.48 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003304/1.157, allocations: 208.6 kB / 1.45 GB, free: 15.27 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/1.158, allocations: 195.8 kB / 1.45 GB, free: 15.08 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/1.159, allocations: 0.7398 MB / 1.451 GB, free: 14.31 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/1.16, allocations: 0.8036 MB / 1.452 GB, free: 13.48 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002359/1.16, allocations: 59.25 kB / 1.452 GB, free: 13.42 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.304e-05/1.16, allocations: 31.44 kB / 1.452 GB, free: 13.39 MB / 1.154 GB Notification: Performance of SimCode: time 3.21e-07/1.16, allocations: 0 / 1.452 GB, free: 13.39 MB / 1.154 GB Notification: Performance of Templates: time 0.01338/1.173, allocations: 6.311 MB / 1.458 GB, free: 7.188 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 -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/jenkins/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: 9.255474544130266]