Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001662/0.001662, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002057/0.002057, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.234/3.234, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_latest_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.002317/0.002317, allocations: 67.56 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3681, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001956/0.3701, allocations: 0.5428 MB / 1.365 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002156/0.3703, allocations: 52.16 kB / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.3704, allocations: 0 / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.3704, allocations: 0 / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.3705, allocations: 3.938 kB / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.312e-05/0.3706, allocations: 4 kB / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.365e-05/0.3707, allocations: 7.984 kB / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.58e-05/0.3707, allocations: 0 / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.691e-05/0.3708, allocations: 11.98 kB / 1.365 GB, free: 13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.3709, allocations: 19.86 kB / 1.365 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.3709, allocations: 0 / 1.365 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/0.3709, allocations: 4 kB / 1.365 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.977e-05/0.371, allocations: 0 / 1.365 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.371, allocations: 7.938 kB / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.422e-05/0.3711, allocations: 19.84 kB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3711, allocations: 0 / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3711, allocations: 0 / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3711, allocations: 0 / 1.365 GB, free: 12.95 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.0005287/0.3716, allocations: 258.3 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.3717, allocations: 12.03 kB / 1.366 GB, free: 12.65 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.3717, allocations: 4.938 kB / 1.366 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.3719, allocations: 114.5 kB / 1.366 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3719, allocations: 384 / 1.366 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.372, allocations: 8.328 kB / 1.366 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.905e-05/0.3721, allocations: 30.25 kB / 1.366 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3721, allocations: 192 / 1.366 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3721, allocations: 7.938 kB / 1.366 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3721, allocations: 0 / 1.366 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.947e-05/0.3721, allocations: 7.875 kB / 1.366 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.3723, allocations: 113.3 kB / 1.366 GB, free: 12.31 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.148e-05/0.3723, allocations: 14.58 kB / 1.366 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.3723, allocations: 12.91 kB / 1.366 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.3723, allocations: 0 / 1.366 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3724, allocations: 30.56 kB / 1.366 GB, free: 12.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3724, allocations: 4 kB / 1.366 GB, free: 12.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001621/0.3725, allocations: 49.56 kB / 1.366 GB, free: 12.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.3726, allocations: 51.41 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3727, allocations: 109.8 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3727, allocations: 25.7 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.3728, allocations: 88.27 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.3728, allocations: 7.953 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.3728, allocations: 13.7 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.373, allocations: 318.8 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.373, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.843e-05/0.373, allocations: 21.7 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.99e-05/0.3731, allocations: 17.66 kB / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3731, allocations: 4 kB / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.983e-05/0.3731, allocations: 49.75 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3732, allocations: 4 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.3732, allocations: 0 / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3732, allocations: 12.11 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.923e-05/0.3733, allocations: 7.984 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3733, allocations: 4 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.034e-05/0.3733, allocations: 4 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.3733, allocations: 0 / 1.367 GB, free: 11.38 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 8.273e-05/0.3734, allocations: 109.8 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.3734, allocations: 3.938 kB / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.3735, allocations: 57.2 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3735, allocations: 3.938 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3735, allocations: 0 / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3735, allocations: 0 / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.3736, allocations: 105.3 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3736, allocations: 0 / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.3737, allocations: 7.938 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.3737, allocations: 3.938 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.3737, allocations: 4 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3737, allocations: 0 / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3737, allocations: 7.969 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.3738, allocations: 81.06 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.3738, allocations: 4.031 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.3739, allocations: 0 / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.3739, allocations: 0 / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.3739, allocations: 7.938 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.3739, allocations: 3.984 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.147e-05/0.374, allocations: 87.28 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.374, allocations: 0 / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001775/0.3741, allocations: 4 kB / 1.367 GB, free: 10.83 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 0.0001373/0.3743, allocations: 99.28 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.613e-05/0.3744, allocations: 11.98 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3744, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.847e-05/0.3744, allocations: 11.98 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.3745, allocations: 5.406 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.3749, allocations: 143.2 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.113e-05/0.375, allocations: 63.28 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.375, allocations: 11.62 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.375, allocations: 4 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of Templates: time 0.002119/0.3771, allocations: 0.5087 MB / 1.368 GB, free: 9.918 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.296776263043284]