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.001883/0.001883, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002408/0.002408, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.5/1.5, allocations: 177.1 MB / 203.1 MB, free: 5.578 MB / 186.7 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.313/3.313, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.3e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001798/0.001831, allocations: 0.5374 MB / 0.8781 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002126/0.002044, allocations: 41.81 kB / 0.8781 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.002091, allocations: 0 / 0.8781 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/0.002128, allocations: 0 / 0.8781 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.002283, allocations: 9.656 kB / 0.8782 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.245e-05/0.002345, allocations: 11.98 kB / 0.8782 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.002409, allocations: 7.984 kB / 0.8782 GB, free: 5.887 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.002447, allocations: 5.062 kB / 0.8782 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.64e-05/0.002503, allocations: 3.984 kB / 0.8782 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.002575, allocations: 15.94 kB / 0.8782 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.002592, allocations: 0.9375 kB / 0.8782 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-06/0.0026, allocations: 0 / 0.8782 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.002653, allocations: 8.484 kB / 0.8782 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.002681, allocations: 1.844 kB / 0.8782 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.369e-05/0.002755, allocations: 23.78 kB / 0.8782 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002756, allocations: 0 / 0.8782 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.22e-07/0.002757, allocations: 0 / 0.8782 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.002761, allocations: 0 / 0.8782 GB, free: 5.832 MB / 0.8386 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.0004648/0.003225, allocations: 255.7 kB / 0.8785 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.003269, allocations: 12.03 kB / 0.8785 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.003313, allocations: 4.938 kB / 0.8785 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.003505, allocations: 118.8 kB / 0.8786 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.003517, allocations: 4.375 kB / 0.8786 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.003538, allocations: 384 / 0.8786 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.94e-05/0.003627, allocations: 34.91 kB / 0.8786 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.003634, allocations: 192 / 0.8786 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.003645, allocations: 4.953 kB / 0.8787 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.003649, allocations: 4.062 kB / 0.8787 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.003672, allocations: 7.938 kB / 0.8787 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.003857, allocations: 109.3 kB / 0.8788 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.161e-05/0.003908, allocations: 18.58 kB / 0.8788 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/0.003928, allocations: 4.859 kB / 0.8788 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.003944, allocations: 4.062 kB / 0.8788 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.00398, allocations: 30.56 kB / 0.8788 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.003981, allocations: 0 / 0.8788 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001752/0.004157, allocations: 49.61 kB / 0.8789 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.004206, allocations: 53.12 kB / 0.8789 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.004337, allocations: 117.8 kB / 0.879 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.004358, allocations: 25.7 kB / 0.8791 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.004413, allocations: 80.14 kB / 0.8791 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.004432, allocations: 4.891 kB / 0.8791 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.004474, allocations: 17.72 kB / 0.8792 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.004654, allocations: 314.8 kB / 0.8795 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.004671, allocations: 5.594 kB / 0.8795 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/0.004705, allocations: 17.72 kB / 0.8795 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.144e-05/0.004756, allocations: 28.14 kB / 0.8795 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.004758, allocations: 0 / 0.8795 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.985e-05/0.004848, allocations: 45.69 kB / 0.8795 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.004865, allocations: 8 kB / 0.8796 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.00487, allocations: 0 / 0.8796 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.004885, allocations: 3.938 kB / 0.8796 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.1e-05/0.004956, allocations: 9.969 kB / 0.8796 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.004961, allocations: 0 / 0.8796 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.005001, allocations: 7.891 kB / 0.8796 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.005014, allocations: 7.984 kB / 0.8796 GB, free: 4.281 MB / 0.8386 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 9.077e-05/0.005105, allocations: 106.6 kB / 0.8797 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.005118, allocations: 4 kB / 0.8797 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.005227, allocations: 46.81 kB / 0.8797 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.005231, allocations: 4 kB / 0.8797 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.005234, allocations: 0 / 0.8797 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.005239, allocations: 3.938 kB / 0.8797 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.005355, allocations: 106.4 kB / 0.8798 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.005356, allocations: 256 / 0.8798 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.00541, allocations: 8 kB / 0.8799 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.005412, allocations: 288 / 0.8799 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.005423, allocations: 7.984 kB / 0.8799 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.005429, allocations: 3.938 kB / 0.8799 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.00543, allocations: 0 / 0.8799 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.005575, allocations: 77.06 kB / 0.8799 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.005601, allocations: 11.97 kB / 0.8799 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.005613, allocations: 0 / 0.8799 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.174e-05/0.005635, allocations: 0 / 0.8799 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.005655, allocations: 4 kB / 0.88 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.00566, allocations: 4 kB / 0.88 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.968e-05/0.005729, allocations: 87.27 kB / 0.88 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.00573, allocations: 4.094 kB / 0.88 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002113/0.005941, allocations: 7.938 kB / 0.88 GB, free: 3.746 MB / 0.8386 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.0001239/0.006065, allocations: 95.25 kB / 0.8801 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.885e-05/0.006144, allocations: 15.92 kB / 0.8802 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006145, allocations: 0 / 0.8802 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.006161, allocations: 4 kB / 0.8802 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.006312, allocations: 4 kB / 0.8802 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.006612, allocations: 112.7 kB / 0.8803 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.575e-05/0.006688, allocations: 71.39 kB / 0.8803 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.006706, allocations: 0 / 0.8803 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.006743, allocations: 16.44 kB / 0.8804 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.006744, allocations: 0 / 0.8804 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of Templates: time 0.002721/0.009465, allocations: 350.1 kB / 0.8807 GB, free: 3.039 MB / 0.8386 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: 8.2694964640541]