Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001811/0.001811, allocations: 115.9 kB / 17.13 MB, free: 6.008 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.002106/0.002106, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.937/2.937, allocations: 0.49 GB / 0.7923 GB, free: 1.363 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002006/0.002006, allocations: 63.89 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.208, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.223/1.431, allocations: 165.8 MB / 1.484 GB, free: 14.9 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005165/1.436, allocations: 2.925 MB / 1.487 GB, free: 12.53 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000611/1.436, allocations: 22.06 kB / 1.487 GB, free: 12.52 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007017/1.437, allocations: 219.5 kB / 1.487 GB, free: 12.34 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002161/1.439, allocations: 0.81 MB / 1.488 GB, free: 11.71 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009007/1.44, allocations: 349.1 kB / 1.488 GB, free: 11.45 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001429/1.442, allocations: 0.9442 MB / 1.489 GB, free: 10.89 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003499/1.442, allocations: 212.2 kB / 1.489 GB, free: 10.74 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007217/1.443, allocations: 398.4 kB / 1.49 GB, free: 10.5 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008577/1.443, allocations: 303.7 kB / 1.49 GB, free: 10.32 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/1.444, allocations: 33.28 kB / 1.49 GB, free: 10.32 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/1.445, allocations: 0.6877 MB / 1.491 GB, free: 9.938 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001786/1.445, allocations: 136.9 kB / 1.491 GB, free: 9.84 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002493/1.445, allocations: 222.6 kB / 1.491 GB, free: 9.695 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001309/1.447, allocations: 0.7507 MB / 1.492 GB, free: 9.215 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.447, allocations: 0 / 1.492 GB, free: 9.215 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.543e-06/1.447, allocations: 5.125 kB / 1.492 GB, free: 9.211 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.795e-06/1.447, allocations: 0 / 1.492 GB, free: 9.211 MB / 1.17 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.001223/1.448, allocations: 0.7268 MB / 1.492 GB, free: 8.578 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.448, allocations: 13.48 kB / 1.492 GB, free: 8.574 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/1.449, allocations: 138.8 kB / 1.493 GB, free: 8.512 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006755/1.45, allocations: 425 kB / 1.493 GB, free: 8.137 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/1.45, allocations: 23.17 kB / 1.493 GB, free: 8.125 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/1.45, allocations: 24.31 kB / 1.493 GB, free: 8.117 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/1.45, allocations: 270.2 kB / 1.493 GB, free: 7.949 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.45, allocations: 0 / 1.493 GB, free: 7.949 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/1.45, allocations: 10.53 kB / 1.493 GB, free: 7.941 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/1.45, allocations: 13.41 kB / 1.493 GB, free: 7.938 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/1.451, allocations: 202.7 kB / 1.493 GB, free: 7.836 MB / 1.17 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.001905/1.453, allocations: 1.322 MB / 1.495 GB, free: 6.598 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/1.453, allocations: 190.1 kB / 1.495 GB, free: 6.488 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/1.453, allocations: 84.14 kB / 1.495 GB, free: 6.441 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/1.453, allocations: 5.344 kB / 1.495 GB, free: 6.438 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/1.453, allocations: 32.84 kB / 1.495 GB, free: 6.398 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/1.453, allocations: 0 / 1.495 GB, free: 6.398 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001049/1.454, allocations: 405.5 kB / 1.495 GB, free: 6.121 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/1.454, allocations: 52.88 kB / 1.495 GB, free: 6.059 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/1.455, allocations: 306.9 kB / 1.496 GB, free: 5.855 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/1.455, allocations: 27.95 kB / 1.496 GB, free: 5.824 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/1.455, allocations: 197.7 kB / 1.496 GB, free: 5.645 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/1.455, allocations: 68.58 kB / 1.496 GB, free: 5.586 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/1.455, allocations: 44.64 kB / 1.496 GB, free: 5.551 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.455, allocations: 346 kB / 1.496 GB, free: 5.211 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/1.455, allocations: 63.48 kB / 1.496 GB, free: 5.18 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/1.455, allocations: 112.8 kB / 1.497 GB, free: 5.086 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/1.456, allocations: 203.7 kB / 1.497 GB, free: 4.941 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.456, allocations: 0 / 1.497 GB, free: 4.941 MB / 1.17 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004118/1.456, allocations: 243.8 kB / 1.497 GB, free: 4.809 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.456, allocations: 9.406 kB / 1.497 GB, free: 4.805 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.456, allocations: 6.219 kB / 1.497 GB, free: 4.801 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.456, allocations: 3.219 kB / 1.497 GB, free: 4.801 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/1.456, allocations: 43.23 kB / 1.497 GB, free: 4.793 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.456, allocations: 6.953 kB / 1.497 GB, free: 4.789 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/1.457, allocations: 19.56 kB / 1.497 GB, free: 4.773 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/1.457, allocations: 6.25 kB / 1.497 GB, free: 4.773 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.0001805/1.457, allocations: 162.7 kB / 1.497 GB, free: 4.625 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.115e-05/1.457, allocations: 35.31 kB / 1.497 GB, free: 4.605 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.988e-05/1.457, allocations: 39.27 kB / 1.497 GB, free: 4.57 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.457, allocations: 2.25 kB / 1.497 GB, free: 4.57 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.457, allocations: 1.719 kB / 1.497 GB, free: 4.57 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.457, allocations: 3.938 kB / 1.497 GB, free: 4.566 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/1.458, allocations: 409.1 kB / 1.498 GB, free: 4.203 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.458, allocations: 5 kB / 1.498 GB, free: 4.199 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/1.458, allocations: 33.64 kB / 1.498 GB, free: 4.191 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002334/1.458, allocations: 47.14 kB / 1.498 GB, free: 4.16 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/1.458, allocations: 9.094 kB / 1.498 GB, free: 4.152 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/1.46, allocations: 1.51 MB / 1.499 GB, free: 2.629 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.46, allocations: 0 / 1.499 GB, free: 2.629 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/1.46, allocations: 398.5 kB / 1.5 GB, free: 2.352 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/1.46, allocations: 130.4 kB / 1.5 GB, free: 2.219 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/1.46, allocations: 10.25 kB / 1.5 GB, free: 2.211 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/1.461, allocations: 2.312 kB / 1.5 GB, free: 2.211 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/1.461, allocations: 17.77 kB / 1.5 GB, free: 2.199 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/1.461, allocations: 4.438 kB / 1.5 GB, free: 2.199 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002762/1.461, allocations: 220.4 kB / 1.5 GB, free: 2.051 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.461, allocations: 0.9688 kB / 1.5 GB, free: 2.051 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004896/1.461, allocations: 108.2 kB / 1.5 GB, free: 2.031 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.0002217/1.462, allocations: 116 kB / 1.5 GB, free: 1.934 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003337/1.462, allocations: 157.5 kB / 1.5 GB, free: 1.863 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.462, allocations: 5 kB / 1.5 GB, free: 1.859 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003225/1.462, allocations: 201.2 kB / 1.501 GB, free: 1.699 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/1.463, allocations: 203.9 kB / 1.501 GB, free: 1.535 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/1.465, allocations: 0.7614 MB / 1.502 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/1.465, allocations: 0.796 MB / 1.502 GB, free: 15.92 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/1.465, allocations: 27.44 kB / 1.502 GB, free: 15.9 MB / 1.186 GB Notification: Performance of SimCode: time 9.52e-07/1.465, allocations: 8 kB / 1.502 GB, free: 15.89 MB / 1.186 GB Notification: Performance of Templates: time 0.009241/1.474, allocations: 5.765 MB / 1.508 GB, free: 10.18 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.541452742996626]