Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example5.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.001562/0.001562, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.00172/0.00172, allocations: 217.8 kB / 20.1 MB, free: 3.051 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.439/1.439, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.8/2.8, allocations: 0.49 GB / 0.7923 GB, free: 1.254 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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") [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.002018/0.002018, allocations: 75.89 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9679/0.9699, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001496/0.9714, allocations: 0.5411 MB / 1.322 GB, free: 24.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00016/0.9716, allocations: 44.95 kB / 1.322 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.9716, allocations: 3.938 kB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.9717, allocations: 0 / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.9718, allocations: 3.125 kB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.335e-05/0.9719, allocations: 3.938 kB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.299e-05/0.9719, allocations: 17.22 kB / 1.323 GB, free: 24.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.972, allocations: 6.562 kB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.058e-05/0.972, allocations: 6.594 kB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.9721, allocations: 9.578 kB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.9721, allocations: 2.469 kB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.9721, allocations: 0 / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.9722, allocations: 5.625 kB / 1.323 GB, free: 24.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.9722, allocations: 14.41 kB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 6.612e-05/0.9723, allocations: 9.906 kB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.9723, allocations: 0 / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9723, allocations: 0 / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.9723, allocations: 6.5 kB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003489/0.9726, allocations: 332.5 kB / 1.323 GB, free: 24.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.9727, allocations: 12.36 kB / 1.323 GB, free: 24.26 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.9727, allocations: 0.9375 kB / 1.323 GB, free: 24.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.9728, allocations: 179.5 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.9729, allocations: 7.547 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.9729, allocations: 384 / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.276e-05/0.9729, allocations: 29.08 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.9729, allocations: 4.188 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.973, allocations: 3.938 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.973, allocations: 2.781 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.973, allocations: 6.094 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.9731, allocations: 155.7 kB / 1.323 GB, free: 23.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.106e-05/0.9731, allocations: 21.3 kB / 1.323 GB, free: 23.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.9732, allocations: 11.05 kB / 1.323 GB, free: 23.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.9732, allocations: 0 / 1.323 GB, free: 23.78 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.9732, allocations: 37.34 kB / 1.323 GB, free: 23.74 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.9732, allocations: 0 / 1.323 GB, free: 23.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001299/0.9733, allocations: 45.39 kB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.9733, allocations: 54.16 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.9734, allocations: 115 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.9734, allocations: 25.7 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/0.9734, allocations: 84.14 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.9734, allocations: 4.078 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.9735, allocations: 16.5 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.634e-05/0.9735, allocations: 320.8 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.9735, allocations: 6.5 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.9736, allocations: 17.94 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/0.9736, allocations: 25.5 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.9736, allocations: 4 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.607e-05/0.9736, allocations: 39.56 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.9737, allocations: 8.766 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.9737, allocations: 6.875 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.9737, allocations: 0 / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.9737, allocations: 6.25 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.9737, allocations: 3.938 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.9738, allocations: 6.641 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.9738, allocations: 0 / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 4.705e-05/0.9738, allocations: 124.1 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-06/0.9738, allocations: 2.906 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.973e-05/0.9739, allocations: 49.12 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.9739, allocations: 0 / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.9739, allocations: 2.781 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.9739, allocations: 3.281 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.936e-05/0.974, allocations: 150.4 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.974, allocations: 0 / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.974, allocations: 6.594 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.974, allocations: 4.031 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.974, allocations: 6.781 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.974, allocations: 0 / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.974, allocations: 3.938 kB / 1.324 GB, free: 22.6 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.66e-05/0.9741, allocations: 72 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.9742, allocations: 87.53 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.9742, allocations: 3.938 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.119e-05/0.9742, allocations: 7.281 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.9742, allocations: 0 / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.9742, allocations: 0 / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.9742, allocations: 91.42 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9742, allocations: 0 / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001719/0.9744, allocations: 2.719 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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 8.119e-05/0.9745, allocations: 99.36 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.781e-05/0.9746, allocations: 21.78 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9746, allocations: 7.875 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.267e-05/0.9746, allocations: 6.484 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.9747, allocations: 2.875 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.975, allocations: 134.7 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.9751, allocations: 0.6784 MB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.9751, allocations: 10.44 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.9751, allocations: 0 / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of Templates: time 0.001865/0.977, allocations: 0.516 MB / 1.326 GB, free: 21.38 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.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: 11.262180186997284]