Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example4.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.001913/0.001913, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002011/0.002011, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.538/1.538, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.158/3.158, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8108 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.409e-05/3.592e-05, allocations: 3.375 kB / 0.8108 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8315/0.8316, allocations: 236.6 MB / 1.042 GB, free: 19.53 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02284/0.8544, allocations: 16.09 MB / 1.058 GB, free: 19.46 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002575/0.857, allocations: 87.09 kB / 1.058 GB, free: 19.46 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.8599, allocations: 1.025 MB / 1.059 GB, free: 19.44 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.008264/0.8682, allocations: 3.169 MB / 1.062 GB, free: 19.32 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.004555/0.8727, allocations: 1.768 MB / 1.063 GB, free: 19.26 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005356/0.8781, allocations: 3.491 MB / 1.067 GB, free: 18.75 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.8799, allocations: 1.032 MB / 1.068 GB, free: 18.61 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007936/0.8878, allocations: 3.348 MB / 1.071 GB, free: 18.25 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002476/0.8903, allocations: 1.003 MB / 1.072 GB, free: 18.12 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002164/0.8905, allocations: 119.8 kB / 1.072 GB, free: 18.12 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00507/0.8956, allocations: 2.58 MB / 1.075 GB, free: 17.88 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0005026/0.8961, allocations: 0.5127 MB / 1.075 GB, free: 17.79 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0008139/0.8969, allocations: 0.5441 MB / 1.076 GB, free: 17.72 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.004671/0.9016, allocations: 3.016 MB / 1.079 GB, free: 17.43 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.9016, allocations: 0 / 1.079 GB, free: 17.43 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9016, allocations: 4.625 kB / 1.079 GB, free: 17.42 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.274e-05/0.9016, allocations: 0 / 1.079 GB, free: 17.42 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003396/0.905, allocations: 2.227 MB / 1.081 GB, free: 16.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.9051, allocations: 11.56 kB / 1.081 GB, free: 16.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.9076, allocations: 0.5871 MB / 1.081 GB, free: 16.17 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.9097, allocations: 1.171 MB / 1.083 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.36e-05/0.9098, allocations: 79.69 kB / 1.083 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.9099, allocations: 103.5 kB / 1.083 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.9119, allocations: 1.43 MB / 1.084 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.9119, allocations: 5.688 kB / 1.084 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.912, allocations: 48.55 kB / 1.084 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/0.912, allocations: 43.92 kB / 1.084 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.9138, allocations: 0.7727 MB / 1.085 GB, free: 15.18 MB / 0.9323 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.006767/0.9206, allocations: 7.988 MB / 1.093 GB, free: 9.773 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.9216, allocations: 391.2 kB / 1.093 GB, free: 9.734 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.922, allocations: 163.5 kB / 1.093 GB, free: 9.723 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/0.9223, allocations: 54.39 kB / 1.093 GB, free: 9.723 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.9223, allocations: 39.64 kB / 1.093 GB, free: 9.68 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 2.405e-06/0.9223, allocations: 0 / 1.093 GB, free: 9.68 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.001799/0.9241, allocations: 0.6411 MB / 1.094 GB, free: 9.562 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.9241, allocations: 56.94 kB / 1.094 GB, free: 9.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.9256, allocations: 1.444 MB / 1.096 GB, free: 9.266 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.9256, allocations: 33.02 kB / 1.096 GB, free: 9.234 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/0.9261, allocations: 0.8699 MB / 1.096 GB, free: 8.848 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.734e-05/0.9262, allocations: 129.4 kB / 1.097 GB, free: 8.77 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.9264, allocations: 195.8 kB / 1.097 GB, free: 8.73 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.9265, allocations: 0.5229 MB / 1.097 GB, free: 8.25 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/0.9271, allocations: 212.2 kB / 1.097 GB, free: 8.238 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007648/0.9278, allocations: 1.04 MB / 1.098 GB, free: 7.211 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.929, allocations: 0.9112 MB / 1.099 GB, free: 6.602 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.929, allocations: 7.406 kB / 1.099 GB, free: 6.598 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001703/0.9307, allocations: 0.8663 MB / 1.1 GB, free: 6.496 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.9307, allocations: 12.34 kB / 1.1 GB, free: 6.496 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.9307, allocations: 13.16 kB / 1.1 GB, free: 6.496 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.9308, allocations: 14.5 kB / 1.1 GB, free: 6.496 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/0.9315, allocations: 190.3 kB / 1.1 GB, free: 6.496 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.9315, allocations: 18.12 kB / 1.1 GB, free: 6.496 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.9325, allocations: 127.8 kB / 1.101 GB, free: 6.453 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-05/0.9326, allocations: 42.42 kB / 1.101 GB, free: 6.453 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008732/0.9335, allocations: 456.4 kB / 1.101 GB, free: 6.324 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007406/0.9342, allocations: 1.039 MB / 1.102 GB, free: 5.297 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001134/0.9354, allocations: 0.913 MB / 1.103 GB, free: 4.68 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.44e-06/0.9354, allocations: 2.781 kB / 1.103 GB, free: 4.68 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001674/0.937, allocations: 0.8644 MB / 1.104 GB, free: 4.578 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.9371, allocations: 9.156 kB / 1.104 GB, free: 4.578 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.9371, allocations: 10.97 kB / 1.104 GB, free: 4.578 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.9371, allocations: 19.06 kB / 1.104 GB, free: 4.578 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006964/0.9378, allocations: 184 kB / 1.104 GB, free: 4.578 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.9378, allocations: 24.19 kB / 1.104 GB, free: 4.578 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.9388, allocations: 102.2 kB / 1.104 GB, free: 4.551 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-05/0.9389, allocations: 46.53 kB / 1.104 GB, free: 4.551 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0001878/0.939, allocations: 327.1 kB / 1.104 GB, free: 4.273 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.9392, allocations: 134.9 kB / 1.105 GB, free: 4.207 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.9405, allocations: 498.7 kB / 1.105 GB, free: 4.137 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.9405, allocations: 2.969 kB / 1.105 GB, free: 4.137 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.9405, allocations: 0 / 1.105 GB, free: 4.137 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.9405, allocations: 5.906 kB / 1.105 GB, free: 4.137 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/0.9434, allocations: 1.818 MB / 1.107 GB, free: 3.637 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.9434, allocations: 10.38 kB / 1.107 GB, free: 3.633 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.9439, allocations: 75.52 kB / 1.107 GB, free: 3.629 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.9439, allocations: 5.562 kB / 1.107 GB, free: 3.629 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.9439, allocations: 17.72 kB / 1.107 GB, free: 3.629 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.9439, allocations: 6.125 kB / 1.107 GB, free: 3.629 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.9439, allocations: 10 kB / 1.107 GB, free: 3.625 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.945, allocations: 0.7431 MB / 1.108 GB, free: 3.176 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/0.9454, allocations: 185.4 kB / 1.108 GB, free: 3.109 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.9456, allocations: 12.3 kB / 1.108 GB, free: 3.109 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007798/0.9464, allocations: 36.22 kB / 1.108 GB, free: 3.109 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/0.9464, allocations: 34.41 kB / 1.108 GB, free: 3.105 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/0.9465, allocations: 25.16 kB / 1.108 GB, free: 3.105 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00101/0.9475, allocations: 0.835 MB / 1.109 GB, free: 2.949 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9e-08/0.9475, allocations: 0 / 1.109 GB, free: 2.949 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001812/0.9493, allocations: 0.659 MB / 1.109 GB, free: 2.84 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.000441/0.9498, allocations: 253 kB / 1.11 GB, free: 2.719 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002107/0.9519, allocations: 0.9302 MB / 1.111 GB, free: 2.672 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9519, allocations: 0 / 1.111 GB, free: 2.672 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004474/0.9523, allocations: 195.7 kB / 1.111 GB, free: 2.656 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/0.9546, allocations: 495.3 kB / 1.111 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.9586, allocations: 2.183 MB / 1.113 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.959, allocations: 0.5943 MB / 1.114 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001033/0.9601, allocations: 305.4 kB / 1.114 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.9603, allocations: 82.94 kB / 1.114 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of SimCode: time 9.52e-07/0.9603, allocations: 0 / 1.114 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of Templates: time 0.03072/0.991, allocations: 18.03 MB / 1.132 GB, free: 13.34 MB / 0.948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.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.615948316990398]