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.001054/0.001054, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001004/0.001004, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.922/0.922, allocations: 177.2 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.607/1.607, allocations: 359 MB / 0.6044 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.349e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6421/0.6421, allocations: 143.1 MB / 1.091 GB, free: 39.77 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002775/0.6449, allocations: 2.739 MB / 1.094 GB, free: 39.51 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.6452, allocations: 26 kB / 1.094 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006175/0.6458, allocations: 201.8 kB / 1.094 GB, free: 39.45 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.6472, allocations: 0.8266 MB / 1.095 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.6477, allocations: 357.2 kB / 1.095 GB, free: 39.2 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008255/0.6486, allocations: 0.9733 MB / 1.096 GB, free: 38.86 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.6488, allocations: 216.9 kB / 1.097 GB, free: 38.77 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004549/0.6493, allocations: 469.7 kB / 1.097 GB, free: 38.58 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007277/0.65, allocations: 260 kB / 1.097 GB, free: 38.53 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.65, allocations: 38.06 kB / 1.097 GB, free: 38.52 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000727/0.6508, allocations: 0.542 MB / 1.098 GB, free: 38.39 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.6509, allocations: 144.8 kB / 1.098 GB, free: 38.32 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.651, allocations: 148.3 kB / 1.098 GB, free: 38.27 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007714/0.6518, allocations: 0.753 MB / 1.099 GB, free: 38.05 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6518, allocations: 0 / 1.099 GB, free: 38.05 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6518, allocations: 4 kB / 1.099 GB, free: 38.05 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.6518, allocations: 0 / 1.099 GB, free: 38.05 MB / 0.9948 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.0008421/0.6526, allocations: 0.6503 MB / 1.1 GB, free: 37.56 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.6527, allocations: 7.812 kB / 1.1 GB, free: 37.56 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006174/0.6533, allocations: 144.8 kB / 1.1 GB, free: 37.53 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.6538, allocations: 362.4 kB / 1.1 GB, free: 37.28 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.6538, allocations: 21.55 kB / 1.1 GB, free: 37.27 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.6538, allocations: 23.83 kB / 1.1 GB, free: 37.26 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.6542, allocations: 376.4 kB / 1.1 GB, free: 37 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.6542, allocations: 0 / 1.1 GB, free: 37 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.6542, allocations: 18.03 kB / 1.1 GB, free: 36.99 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.6542, allocations: 9.719 kB / 1.1 GB, free: 36.99 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.6545, allocations: 193.1 kB / 1.101 GB, free: 36.93 MB / 0.9948 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.001132/0.6556, allocations: 0.7972 MB / 1.101 GB, free: 36.42 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.6559, allocations: 183.4 kB / 1.102 GB, free: 36.33 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.6561, allocations: 80.88 kB / 1.102 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.6561, allocations: 10.3 kB / 1.102 GB, free: 36.29 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.6561, allocations: 36.84 kB / 1.102 GB, free: 36.25 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.6561, allocations: 0.5312 kB / 1.102 GB, free: 36.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.000805/0.6569, allocations: 318.7 kB / 1.102 GB, free: 36.11 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.6569, allocations: 61.58 kB / 1.102 GB, free: 36.04 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.6573, allocations: 298.1 kB / 1.102 GB, free: 35.88 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.6573, allocations: 26.89 kB / 1.102 GB, free: 35.84 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.6574, allocations: 200.7 kB / 1.103 GB, free: 35.68 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.6575, allocations: 71.41 kB / 1.103 GB, free: 35.62 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-05/0.6576, allocations: 48.52 kB / 1.103 GB, free: 35.59 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.068e-05/0.6576, allocations: 339.4 kB / 1.103 GB, free: 35.26 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.6578, allocations: 63.03 kB / 1.103 GB, free: 35.24 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.6579, allocations: 112.1 kB / 1.103 GB, free: 35.16 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.6581, allocations: 197.8 kB / 1.103 GB, free: 35.02 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6582, allocations: 1.641 kB / 1.103 GB, free: 35.02 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003087/0.6585, allocations: 240.3 kB / 1.104 GB, free: 34.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.6585, allocations: 8.469 kB / 1.104 GB, free: 34.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6585, allocations: 1.531 kB / 1.104 GB, free: 34.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.6585, allocations: 8.203 kB / 1.104 GB, free: 34.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.6586, allocations: 46.47 kB / 1.104 GB, free: 34.89 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.6587, allocations: 8.266 kB / 1.104 GB, free: 34.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.6588, allocations: 19.72 kB / 1.104 GB, free: 34.88 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.6588, allocations: 7.219 kB / 1.104 GB, free: 34.88 MB / 0.9948 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.0001199/0.6589, allocations: 163.7 kB / 1.104 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.659, allocations: 30.75 kB / 1.104 GB, free: 34.71 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.168e-05/0.659, allocations: 38.73 kB / 1.104 GB, free: 34.69 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.659, allocations: 7.094 kB / 1.104 GB, free: 34.69 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.659, allocations: 4 kB / 1.104 GB, free: 34.68 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.659, allocations: 6.172 kB / 1.104 GB, free: 34.68 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.6594, allocations: 272.7 kB / 1.104 GB, free: 34.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6594, allocations: 1.531 kB / 1.104 GB, free: 34.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.15e-05/0.6595, allocations: 38.28 kB / 1.104 GB, free: 34.49 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000154/0.6596, allocations: 39.7 kB / 1.104 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.6597, allocations: 7.484 kB / 1.104 GB, free: 34.47 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006799/0.6603, allocations: 1.385 MB / 1.106 GB, free: 33.15 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6603, allocations: 7.062 kB / 1.106 GB, free: 33.15 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.6607, allocations: 407.3 kB / 1.106 GB, free: 32.89 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.6608, allocations: 48.56 kB / 1.106 GB, free: 32.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.6608, allocations: 5.859 kB / 1.106 GB, free: 32.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.6609, allocations: 4.016 kB / 1.106 GB, free: 32.86 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.6609, allocations: 15.58 kB / 1.106 GB, free: 32.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.6609, allocations: 9.609 kB / 1.106 GB, free: 32.86 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001462/0.6611, allocations: 216.9 kB / 1.106 GB, free: 32.73 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.6611, allocations: 1.25 kB / 1.106 GB, free: 32.73 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002735/0.6614, allocations: 99.48 kB / 1.106 GB, free: 32.72 MB / 0.9948 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.0001639/0.6615, allocations: 119.7 kB / 1.107 GB, free: 32.62 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.6617, allocations: 160 kB / 1.107 GB, free: 32.56 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6617, allocations: 0.6562 kB / 1.107 GB, free: 32.56 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.662, allocations: 199.7 kB / 1.107 GB, free: 32.42 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/0.6625, allocations: 192.4 kB / 1.107 GB, free: 32.37 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007899/0.6633, allocations: 0.6805 MB / 1.108 GB, free: 31.93 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.6635, allocations: 188 kB / 1.108 GB, free: 31.84 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.6636, allocations: 27.75 kB / 1.108 GB, free: 31.83 MB / 0.9948 GB Notification: Performance of SimCode: time 4.91e-07/0.6636, allocations: 4 kB / 1.108 GB, free: 31.83 MB / 0.9948 GB Notification: Performance of Templates: time 0.009761/0.6733, allocations: 5.919 MB / 1.114 GB, free: 31.25 MB / 0.9948 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: 7.929577296599746]