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.001594/0.001594, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001834/0.001834, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 8.07 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.744/2.744, allocations: 476.7 MB / 0.7714 GB, free: 4.375 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.002061/0.002061, allocations: 69.5 kB / 1.119 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4026, allocations: 169.9 MB / 1.285 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2192/0.6218, allocations: 166 MB / 1.447 GB, free: 12.77 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005459/0.6273, allocations: 2.938 MB / 1.45 GB, free: 9.82 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006879/0.628, allocations: 23.81 kB / 1.45 GB, free: 9.797 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000779/0.6288, allocations: 214.8 kB / 1.45 GB, free: 9.586 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.6311, allocations: 0.8206 MB / 1.451 GB, free: 8.762 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009888/0.6321, allocations: 358.1 kB / 1.451 GB, free: 8.414 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001499/0.6336, allocations: 0.9781 MB / 1.452 GB, free: 7.434 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003501/0.6339, allocations: 210.5 kB / 1.452 GB, free: 7.223 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006234/0.6346, allocations: 362.6 kB / 1.452 GB, free: 6.867 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.6356, allocations: 309.1 kB / 1.453 GB, free: 6.566 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.6356, allocations: 32 kB / 1.453 GB, free: 6.535 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.6371, allocations: 0.6975 MB / 1.453 GB, free: 5.836 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.6372, allocations: 135.6 kB / 1.454 GB, free: 5.703 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.6375, allocations: 219 kB / 1.454 GB, free: 5.488 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.6387, allocations: 0.7514 MB / 1.454 GB, free: 4.734 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.6387, allocations: 4 kB / 1.454 GB, free: 4.73 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6387, allocations: 0 / 1.454 GB, free: 4.73 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.6387, allocations: 0 / 1.454 GB, free: 4.73 MB / 1.154 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.001201/0.6399, allocations: 0.6499 MB / 1.455 GB, free: 4.051 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.6399, allocations: 16.03 kB / 1.455 GB, free: 4.035 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009966/0.6409, allocations: 139.6 kB / 1.455 GB, free: 3.898 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006691/0.6416, allocations: 356 kB / 1.456 GB, free: 3.523 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.6416, allocations: 20.5 kB / 1.456 GB, free: 3.504 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.613e-05/0.6417, allocations: 24 kB / 1.456 GB, free: 3.48 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.6422, allocations: 270.8 kB / 1.456 GB, free: 3.203 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.6422, allocations: 4 kB / 1.456 GB, free: 3.199 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.6422, allocations: 12 kB / 1.456 GB, free: 3.188 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.6423, allocations: 8.5 kB / 1.456 GB, free: 3.18 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.6426, allocations: 197.8 kB / 1.456 GB, free: 2.988 MB / 1.154 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.001876/0.6445, allocations: 1.288 MB / 1.457 GB, free: 1.566 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.6449, allocations: 186.9 kB / 1.458 GB, free: 1.375 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.645, allocations: 89.05 kB / 1.458 GB, free: 1.285 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.6451, allocations: 7.953 kB / 1.458 GB, free: 1.277 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.6451, allocations: 38.5 kB / 1.458 GB, free: 1.23 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.893e-06/0.6451, allocations: 0 / 1.458 GB, free: 1.23 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.0009431/0.646, allocations: 332.3 kB / 1.458 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.6461, allocations: 51.41 kB / 1.458 GB, free: 0.8359 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.6464, allocations: 304.5 kB / 1.458 GB, free: 0.5312 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.6464, allocations: 29.7 kB / 1.458 GB, free: 0.4961 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.6466, allocations: 196.3 kB / 1.459 GB, free: 308 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.813e-05/0.6467, allocations: 71.33 kB / 1.459 GB, free: 236 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.6467, allocations: 49.7 kB / 1.459 GB, free: 180 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.6469, allocations: 338.8 kB / 1.459 GB, free: 15.84 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.647, allocations: 63.92 kB / 1.459 GB, free: 15.77 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.6472, allocations: 114.8 kB / 1.459 GB, free: 15.64 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.6475, allocations: 197.9 kB / 1.459 GB, free: 15.43 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6475, allocations: 0 / 1.459 GB, free: 15.43 MB / 1.17 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003829/0.6478, allocations: 251.7 kB / 1.46 GB, free: 15.18 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.6479, allocations: 7.938 kB / 1.46 GB, free: 15.17 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.6479, allocations: 4 kB / 1.46 GB, free: 15.16 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.6479, allocations: 0 / 1.46 GB, free: 15.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.6481, allocations: 43.92 kB / 1.46 GB, free: 15.12 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.6481, allocations: 11.98 kB / 1.46 GB, free: 15.11 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.6484, allocations: 15.89 kB / 1.46 GB, free: 15.09 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.6484, allocations: 8 kB / 1.46 GB, free: 15.09 MB / 1.17 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.0001898/0.6486, allocations: 165.9 kB / 1.46 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/0.6486, allocations: 39.7 kB / 1.46 GB, free: 14.88 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.537e-05/0.6487, allocations: 35.02 kB / 1.46 GB, free: 14.84 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.6487, allocations: 0 / 1.46 GB, free: 14.84 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.6487, allocations: 4 kB / 1.46 GB, free: 14.83 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6487, allocations: 0 / 1.46 GB, free: 14.83 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/0.6493, allocations: 372.4 kB / 1.46 GB, free: 14.43 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.6493, allocations: 3.984 kB / 1.46 GB, free: 14.42 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.6494, allocations: 35.86 kB / 1.46 GB, free: 14.39 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.6497, allocations: 52.77 kB / 1.46 GB, free: 14.33 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.6497, allocations: 4 kB / 1.46 GB, free: 14.33 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.6511, allocations: 1.408 MB / 1.462 GB, free: 12.8 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6511, allocations: 0 / 1.462 GB, free: 12.8 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/0.6516, allocations: 403.9 kB / 1.462 GB, free: 12.39 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.6518, allocations: 47.78 kB / 1.462 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.6518, allocations: 15.92 kB / 1.462 GB, free: 12.33 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.652, allocations: 9.609 kB / 1.462 GB, free: 12.32 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.6521, allocations: 11.98 kB / 1.462 GB, free: 12.31 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.6521, allocations: 7.984 kB / 1.462 GB, free: 12.3 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002584/0.6524, allocations: 215.1 kB / 1.462 GB, free: 12.09 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6524, allocations: 3.938 kB / 1.462 GB, free: 12.09 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004199/0.6528, allocations: 103.9 kB / 1.462 GB, free: 11.98 MB / 1.17 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.0001992/0.653, allocations: 122 kB / 1.463 GB, free: 11.86 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.6533, allocations: 155.8 kB / 1.463 GB, free: 11.71 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6533, allocations: 0 / 1.463 GB, free: 11.71 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.6536, allocations: 201 kB / 1.463 GB, free: 11.5 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009511/0.6546, allocations: 192.1 kB / 1.463 GB, free: 11.32 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.6559, allocations: 0.7649 MB / 1.464 GB, free: 10.52 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.6564, allocations: 0.7999 MB / 1.465 GB, free: 9.695 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.141e-05/0.6565, allocations: 27.44 kB / 1.465 GB, free: 9.668 MB / 1.17 GB Notification: Performance of SimCode: time 5.81e-07/0.6565, allocations: 0 / 1.465 GB, free: 9.668 MB / 1.17 GB Notification: Performance of Templates: time 0.009699/0.6662, allocations: 5.789 MB / 1.47 GB, free: 3.926 MB / 1.17 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.515058468998177]