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.0008073/0.0008073, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008304/0.0008304, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8875/0.8875, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.719/1.719, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.365e-05, allocations: 6.219 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001014/0.001038, allocations: 0.5431 MB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001354/0.001174, allocations: 39.81 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.001217, allocations: 0 / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.001245, allocations: 3.938 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.00138, allocations: 0 / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.671e-05/0.001427, allocations: 7.984 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.023e-05/0.001487, allocations: 11.94 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.001521, allocations: 0 / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.273e-05/0.001574, allocations: 11.97 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.001636, allocations: 4 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.001659, allocations: 11.94 kB / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-06/0.001666, allocations: 0 / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.001711, allocations: 11.92 kB / 1.002 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.001733, allocations: 4 kB / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 5.775e-05/0.00179, allocations: 7.984 kB / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.001792, allocations: 0 / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.21e-07/0.001793, allocations: 0 / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.001796, allocations: 0 / 1.002 GB, free: 12.39 MB / 0.9636 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.0003187/0.002115, allocations: 256.8 kB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.002149, allocations: 8.75 kB / 1.002 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.002176, allocations: 4.938 kB / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.002305, allocations: 125.7 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.002314, allocations: 4.312 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.002331, allocations: 8.375 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.557e-05/0.002396, allocations: 34.25 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.002403, allocations: 4.188 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.002411, allocations: 384 / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.002415, allocations: 384 / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.449e-05/0.00243, allocations: 3.938 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.002537, allocations: 109.3 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.697e-05/0.002574, allocations: 18.58 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.409e-05/0.002588, allocations: 12.92 kB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.002601, allocations: 0 / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.002619, allocations: 34.56 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.00262, allocations: 0 / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001216/0.002742, allocations: 45.61 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.002773, allocations: 51.41 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.002835, allocations: 117.8 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.607e-06/0.002844, allocations: 25.7 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.699e-05/0.002871, allocations: 84.14 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.002888, allocations: 4.078 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.00291, allocations: 21.66 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.002981, allocations: 318.8 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.002992, allocations: 4 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.003009, allocations: 13.72 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.00304, allocations: 29.64 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.003042, allocations: 0 / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.425e-05/0.003086, allocations: 41.69 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.003097, allocations: 8.125 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.003101, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.003112, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.732e-05/0.003169, allocations: 4 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.003174, allocations: 3.938 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.6e-05/0.00319, allocations: 15.91 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.003195, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 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.813e-05/0.003243, allocations: 113.8 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-06/0.003247, allocations: 0 / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.294e-05/0.00332, allocations: 53.11 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.003321, allocations: 7.969 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.003325, allocations: 0 / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.003328, allocations: 3.938 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.529e-05/0.003383, allocations: 105.3 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.003386, allocations: 4 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.972e-05/0.003416, allocations: 0 / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.003417, allocations: 0 / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.003425, allocations: 8.234 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.003425, allocations: 0 / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.003426, allocations: 4 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.872e-05/0.003505, allocations: 81 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.00352, allocations: 8.016 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.435e-06/0.003529, allocations: 0 / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-06/0.003538, allocations: 4 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.003551, allocations: 0 / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-06/0.003552, allocations: 0 / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.003584, allocations: 91.27 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.003584, allocations: 0 / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001179/0.003702, allocations: 7.938 kB / 1.003 GB, free: 10.27 MB / 0.9636 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 6.966e-05/0.003772, allocations: 91.25 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.37e-05/0.003836, allocations: 24.02 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.003837, allocations: 0 / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-06/0.003845, allocations: 4 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.003949, allocations: 5.406 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.00417, allocations: 142.4 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.718e-05/0.004207, allocations: 63.34 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.004228, allocations: 8.5 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of SimCode: time 4.2e-07/0.004228, allocations: 0 / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of Templates: time 0.001319/0.005547, allocations: 0.5202 MB / 1.004 GB, free: 9.359 MB / 0.9636 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/jenkins/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: 6.48175504244864]