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.002349/0.002349, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.003024/0.003024, allocations: 173.6 kB / 22.46 MB, free: 5.355 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.472/1.472, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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 2.803/2.803, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 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 2.284e-06/2.284e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.328e-05/3.557e-05, allocations: 5.656 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.9002/0.9002, allocations: 210.7 MB / 1.187 GB, free: 44.86 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02298/0.9232, allocations: 14.59 MB / 1.201 GB, free: 44.51 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002998/0.9262, allocations: 88.56 kB / 1.202 GB, free: 44.51 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003447/0.9297, allocations: 1.019 MB / 1.203 GB, free: 44.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.9398, allocations: 3.169 MB / 1.206 GB, free: 43.85 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006519/0.9463, allocations: 1.782 MB / 1.207 GB, free: 43.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007091/0.9534, allocations: 3.488 MB / 1.211 GB, free: 43.03 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002508/0.9559, allocations: 0.9997 MB / 1.212 GB, free: 42.58 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01126/0.9672, allocations: 3.306 MB / 1.215 GB, free: 41.43 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003309/0.9705, allocations: 0.956 MB / 1.216 GB, free: 41.21 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.9709, allocations: 120.9 kB / 1.216 GB, free: 41.21 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007467/0.9783, allocations: 2.577 MB / 1.219 GB, free: 40.65 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.9794, allocations: 0.5047 MB / 1.219 GB, free: 40.41 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.981, allocations: 0.541 MB / 1.22 GB, free: 40.21 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008818/0.9898, allocations: 3.008 MB / 1.222 GB, free: 39.37 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.9898, allocations: 0.9688 kB / 1.222 GB, free: 39.37 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9898, allocations: 1.562 kB / 1.222 GB, free: 39.37 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.616e-05/0.9898, allocations: 0 / 1.222 GB, free: 39.37 MB / 1.076 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.005145/0.995, allocations: 1.984 MB / 1.224 GB, free: 38.11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.995, allocations: 9.438 kB / 1.224 GB, free: 38.11 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003338/0.9984, allocations: 0.5065 MB / 1.225 GB, free: 37.98 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/1.001, allocations: 1.127 MB / 1.226 GB, free: 37.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.945e-05/1.001, allocations: 76.69 kB / 1.226 GB, free: 37.33 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/1.001, allocations: 101.7 kB / 1.226 GB, free: 37.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/1.004, allocations: 1.449 MB / 1.228 GB, free: 36.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/1.004, allocations: 17.8 kB / 1.228 GB, free: 36.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/1.004, allocations: 45.53 kB / 1.228 GB, free: 36.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.819e-05/1.004, allocations: 43.53 kB / 1.228 GB, free: 36.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/1.007, allocations: 1.047 MB / 1.229 GB, free: 36.11 MB / 1.076 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.007781/1.015, allocations: 5.775 MB / 1.234 GB, free: 31.79 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/1.016, allocations: 0.5208 MB / 1.235 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006695/1.017, allocations: 252.9 kB / 1.235 GB, free: 31.56 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/1.017, allocations: 58.39 kB / 1.235 GB, free: 31.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/1.017, allocations: 41.03 kB / 1.235 GB, free: 31.51 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/1.017, allocations: 0 / 1.235 GB, free: 31.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002571/1.02, allocations: 0.8268 MB / 1.236 GB, free: 31.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/1.02, allocations: 59 kB / 1.236 GB, free: 31.17 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/1.022, allocations: 1.131 MB / 1.237 GB, free: 30.71 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.131e-05/1.022, allocations: 41.05 kB / 1.237 GB, free: 30.67 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004348/1.022, allocations: 0.7372 MB / 1.238 GB, free: 30.08 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.736e-05/1.022, allocations: 125.1 kB / 1.238 GB, free: 29.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/1.022, allocations: 165.1 kB / 1.238 GB, free: 29.9 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.58e-05/1.023, allocations: 337.8 kB / 1.239 GB, free: 29.58 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008373/1.023, allocations: 307.3 kB / 1.239 GB, free: 29.49 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/1.025, allocations: 0.9725 MB / 1.24 GB, free: 28.58 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/1.026, allocations: 0.9226 MB / 1.241 GB, free: 27.97 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/1.026, allocations: 3.156 kB / 1.241 GB, free: 27.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002508/1.029, allocations: 1.041 MB / 1.242 GB, free: 27.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/1.029, allocations: 12.16 kB / 1.242 GB, free: 27.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/1.029, allocations: 11.53 kB / 1.242 GB, free: 27.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/1.029, allocations: 15.25 kB / 1.242 GB, free: 27.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008778/1.03, allocations: 205.8 kB / 1.242 GB, free: 27.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.34e-05/1.03, allocations: 23.62 kB / 1.242 GB, free: 27.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/1.031, allocations: 144.3 kB / 1.242 GB, free: 27.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.54e-05/1.031, allocations: 47.27 kB / 1.242 GB, free: 27.57 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001335/1.033, allocations: 0.5671 MB / 1.243 GB, free: 27.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001083/1.034, allocations: 0.9665 MB / 1.244 GB, free: 26.4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001757/1.035, allocations: 0.927 MB / 1.245 GB, free: 25.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.939e-06/1.035, allocations: 6.641 kB / 1.245 GB, free: 25.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00254/1.038, allocations: 1.032 MB / 1.246 GB, free: 25.47 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.038, allocations: 8.969 kB / 1.246 GB, free: 25.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.038, allocations: 12.53 kB / 1.246 GB, free: 25.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.038, allocations: 15.38 kB / 1.246 GB, free: 25.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008345/1.039, allocations: 210.1 kB / 1.246 GB, free: 25.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/1.039, allocations: 24.58 kB / 1.246 GB, free: 25.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/1.04, allocations: 130.5 kB / 1.246 GB, free: 25.42 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.999e-05/1.04, allocations: 44.55 kB / 1.246 GB, free: 25.41 MB / 1.076 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.0004087/1.041, allocations: 244.8 kB / 1.246 GB, free: 25.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/1.041, allocations: 122.7 kB / 1.246 GB, free: 25.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/1.043, allocations: 0.6216 MB / 1.247 GB, free: 24.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/1.043, allocations: 3.562 kB / 1.247 GB, free: 24.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.043, allocations: 2.531 kB / 1.247 GB, free: 24.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/1.043, allocations: 2.953 kB / 1.247 GB, free: 24.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/1.047, allocations: 1.655 MB / 1.249 GB, free: 24.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/1.047, allocations: 7.094 kB / 1.249 GB, free: 24.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/1.048, allocations: 92.95 kB / 1.249 GB, free: 24.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/1.048, allocations: 5.625 kB / 1.249 GB, free: 24.11 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/1.048, allocations: 14.03 kB / 1.249 GB, free: 24.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/1.048, allocations: 8.5 kB / 1.249 GB, free: 24.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/1.048, allocations: 13.84 kB / 1.249 GB, free: 24.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/1.049, allocations: 0.7613 MB / 1.249 GB, free: 23.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007109/1.05, allocations: 189 kB / 1.25 GB, free: 23.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/1.05, allocations: 12.58 kB / 1.25 GB, free: 23.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009511/1.051, allocations: 62.97 kB / 1.25 GB, free: 23.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/1.051, allocations: 35.56 kB / 1.25 GB, free: 23.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/1.051, allocations: 24.72 kB / 1.25 GB, free: 23.53 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00146/1.053, allocations: 0.7536 MB / 1.25 GB, free: 23.23 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.053, allocations: 0 / 1.25 GB, free: 23.23 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003155/1.056, allocations: 0.6403 MB / 1.251 GB, free: 23.09 MB / 1.076 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.0007852/1.057, allocations: 261.8 kB / 1.251 GB, free: 22.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003247/1.06, allocations: 1.088 MB / 1.252 GB, free: 22.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.06, allocations: 4.062 kB / 1.252 GB, free: 22.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006642/1.061, allocations: 246.9 kB / 1.253 GB, free: 22.65 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/1.063, allocations: 458.7 kB / 1.253 GB, free: 22.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00463/1.068, allocations: 2.207 MB / 1.255 GB, free: 21.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005368/1.068, allocations: 0.5971 MB / 1.256 GB, free: 21.17 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001185/1.069, allocations: 333.4 kB / 1.256 GB, free: 21.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/1.07, allocations: 80.67 kB / 1.256 GB, free: 21.08 MB / 1.076 GB Notification: Performance of SimCode: time 1.062e-06/1.07, allocations: 0 / 1.256 GB, free: 21.08 MB / 1.076 GB Notification: Performance of Templates: time 0.02937/1.099, allocations: 17.66 MB / 1.273 GB, free: 18.65 MB / 1.076 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 400] 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.735096272081137]