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.001583/0.001583, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.001994/0.001994, allocations: 157.2 kB / 23.02 MB, free: 4.949 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.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.899/2.899, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 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.002143/0.002143, allocations: 71.88 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8801/0.8822, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.002229/0.8845, allocations: 0.5527 MB / 1.187 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00023/0.8847, allocations: 32.84 kB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.8848, allocations: 0 / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.197e-05/0.8848, allocations: 2.078 kB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.885, allocations: 5.312 kB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 8.597e-05/0.8851, allocations: 15.23 kB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.575e-05/0.8851, allocations: 15.3 kB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.077e-05/0.8852, allocations: 5.984 kB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.258e-05/0.8853, allocations: 3.453 kB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.837e-05/0.8853, allocations: 10.8 kB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.8854, allocations: 1.375 kB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.8854, allocations: 1.375 kB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.8854, allocations: 7.234 kB / 1.187 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.8855, allocations: 10 kB / 1.187 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 7.243e-05/0.8855, allocations: 15.2 kB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8855, allocations: 0.75 kB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.654e-06/0.8855, allocations: 0 / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.8856, allocations: 4 kB / 1.187 GB, free: 15.79 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004209/0.886, allocations: 255.5 kB / 1.187 GB, free: 15.53 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.886, allocations: 10.23 kB / 1.188 GB, free: 15.53 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.8861, allocations: 2.312 kB / 1.188 GB, free: 15.53 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.8862, allocations: 110.4 kB / 1.188 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.8862, allocations: 2.406 kB / 1.188 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.8863, allocations: 12.27 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.034e-05/0.8863, allocations: 32.83 kB / 1.188 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.8863, allocations: 192 / 1.188 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.8864, allocations: 3.938 kB / 1.188 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.8864, allocations: 6.078 kB / 1.188 GB, free: 15.35 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.641e-05/0.8864, allocations: 3.922 kB / 1.188 GB, free: 15.35 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.8865, allocations: 103.9 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.791e-05/0.8866, allocations: 19.97 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.8866, allocations: 11.39 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.8866, allocations: 1.375 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.8866, allocations: 32.66 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.8867, allocations: 0 / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001921/0.8868, allocations: 43.28 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.8869, allocations: 54.05 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.917e-05/0.887, allocations: 116.3 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.887, allocations: 31.27 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.887, allocations: 80.75 kB / 1.188 GB, free: 14.83 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.887, allocations: 5.969 kB / 1.188 GB, free: 14.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.8871, allocations: 16.83 kB / 1.188 GB, free: 14.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.807e-05/0.8871, allocations: 314.1 kB / 1.188 GB, free: 14.49 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.607e-05/0.8871, allocations: 8 kB / 1.188 GB, free: 14.49 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.846e-05/0.8872, allocations: 15.17 kB / 1.188 GB, free: 14.47 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.675e-05/0.8872, allocations: 31.67 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8872, allocations: 1.531 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001108/0.8873, allocations: 49.17 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.8874, allocations: 7.125 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.8874, allocations: 0.7969 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.8874, allocations: 5.188 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.8875, allocations: 3.156 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.8875, allocations: 1.281 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/0.8875, allocations: 2.25 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.8875, allocations: 6.094 kB / 1.189 GB, free: 14.4 MB / 1.076 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 6.13e-05/0.8876, allocations: 121 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.8876, allocations: 2.016 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.8877, allocations: 52.84 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.8877, allocations: 4.594 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8877, allocations: 1.344 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8877, allocations: 0 / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.823e-05/0.8878, allocations: 105.1 kB / 1.189 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8878, allocations: 1.781 kB / 1.189 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.651e-05/0.8879, allocations: 7.828 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8879, allocations: 4.031 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.8879, allocations: 1.859 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.8879, allocations: 0 / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.8879, allocations: 3.938 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.8881, allocations: 83.33 kB / 1.189 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.8881, allocations: 3.375 kB / 1.189 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.8881, allocations: 0.6562 kB / 1.189 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.433e-05/0.8881, allocations: 2.281 kB / 1.189 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.8881, allocations: 6.25 kB / 1.189 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.8881, allocations: 4.656 kB / 1.189 GB, free: 14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.367e-05/0.8882, allocations: 94.03 kB / 1.189 GB, free: 13.92 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8882, allocations: 0 / 1.189 GB, free: 13.92 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003498/0.8885, allocations: 7.219 kB / 1.189 GB, free: 13.92 MB / 1.076 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.343e-05/0.8886, allocations: 92.45 kB / 1.189 GB, free: 13.83 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.8887, allocations: 11.05 kB / 1.189 GB, free: 13.83 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8887, allocations: 1.344 kB / 1.189 GB, free: 13.83 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-05/0.8888, allocations: 10.06 kB / 1.189 GB, free: 13.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.889, allocations: 5.672 kB / 1.189 GB, free: 13.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.8893, allocations: 122.7 kB / 1.189 GB, free: 13.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.677e-05/0.8893, allocations: 65.98 kB / 1.189 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.307e-05/0.8893, allocations: 3.859 kB / 1.189 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.8894, allocations: 9.156 kB / 1.189 GB, free: 13.62 MB / 1.076 GB Notification: Performance of SimCode: time 4.3e-07/0.8894, allocations: 1.438 kB / 1.189 GB, free: 13.62 MB / 1.076 GB Notification: Performance of Templates: time 0.003918/0.8933, allocations: 325.7 kB / 1.19 GB, free: 13.55 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.799833392025903]