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.001524/0.001524, allocations: 76.84 kB / 19.18 MB, free: 2.531 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.001558/0.001558, allocations: 171.3 kB / 22.46 MB, free: 5.355 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.927/2.927, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.038e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001519/0.00155, allocations: 0.541 MB / 0.9819 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001721/0.001722, allocations: 39.81 kB / 0.982 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/0.001768, allocations: 0 / 0.982 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.001798, allocations: 3.938 kB / 0.982 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.001937, allocations: 7.984 kB / 0.982 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.216e-05/0.001989, allocations: 0 / 0.982 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.97e-05/0.002059, allocations: 19.92 kB / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.002104, allocations: 7.984 kB / 0.982 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.318e-05/0.002157, allocations: 4 kB / 0.982 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.002223, allocations: 11.92 kB / 0.982 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.002246, allocations: 7.875 kB / 0.982 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-06/0.002254, allocations: 0 / 0.982 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.966e-05/0.002303, allocations: 8 kB / 0.982 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.002326, allocations: 0 / 0.982 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.393e-05/0.00239, allocations: 15.91 kB / 0.9821 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.002394, allocations: 4 kB / 0.9821 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002395, allocations: 0 / 0.9821 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.002402, allocations: 4 kB / 0.9821 GB, free: 11.32 MB / 0.9356 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.0004329/0.002835, allocations: 258.3 kB / 0.9823 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.002875, allocations: 8.031 kB / 0.9823 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.002905, allocations: 4.922 kB / 0.9823 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.003081, allocations: 109.8 kB / 0.9824 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-06/0.003086, allocations: 4.312 kB / 0.9824 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.003109, allocations: 4.375 kB / 0.9824 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.802e-05/0.003187, allocations: 34.25 kB / 0.9825 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.003194, allocations: 192 / 0.9825 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.003203, allocations: 4.375 kB / 0.9825 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.003207, allocations: 4.375 kB / 0.9825 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.348e-05/0.003231, allocations: 11.88 kB / 0.9825 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.00339, allocations: 101.3 kB / 0.9826 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.759e-05/0.003438, allocations: 22.58 kB / 0.9826 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.003466, allocations: 12.91 kB / 0.9826 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.003477, allocations: 0 / 0.9826 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.003502, allocations: 30.56 kB / 0.9826 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.003503, allocations: 0 / 0.9826 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001598/0.003663, allocations: 49.58 kB / 0.9827 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.003704, allocations: 51.53 kB / 0.9827 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.00381, allocations: 117.8 kB / 0.9829 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.003837, allocations: 25.7 kB / 0.9829 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.003887, allocations: 84.14 kB / 0.983 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.003904, allocations: 0 / 0.983 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.00394, allocations: 17.7 kB / 0.983 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.004086, allocations: 314.8 kB / 0.9833 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.004103, allocations: 4 kB / 0.9833 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/0.004135, allocations: 17.7 kB / 0.9833 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.763e-05/0.004193, allocations: 29.72 kB / 0.9833 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.004195, allocations: 0 / 0.9833 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.888e-05/0.004273, allocations: 45.64 kB / 0.9834 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.004289, allocations: 10.19 kB / 0.9834 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.004293, allocations: 0 / 0.9834 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.004304, allocations: 0 / 0.9834 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.004374, allocations: 11.92 kB / 0.9834 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.004379, allocations: 3.938 kB / 0.9834 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.004404, allocations: 3.938 kB / 0.9834 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.004412, allocations: 4 kB / 0.9834 GB, free: 9.762 MB / 0.9356 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.136e-05/0.004494, allocations: 113.9 kB / 0.9835 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.004504, allocations: 4 kB / 0.9835 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.004612, allocations: 49.14 kB / 0.9836 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.004614, allocations: 3.938 kB / 0.9836 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.004618, allocations: 4 kB / 0.9836 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.004622, allocations: 3.938 kB / 0.9836 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.786e-05/0.00472, allocations: 97.33 kB / 0.9837 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.004725, allocations: 3.984 kB / 0.9837 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.085e-05/0.004776, allocations: 7.984 kB / 0.9837 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.004778, allocations: 0 / 0.9837 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.004785, allocations: 4.281 kB / 0.9837 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.004787, allocations: 0 / 0.9837 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.00479, allocations: 7.938 kB / 0.9837 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.004946, allocations: 89 kB / 0.9838 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.004965, allocations: 4.031 kB / 0.9838 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.004977, allocations: 0 / 0.9838 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.142e-05/0.004998, allocations: 0 / 0.9838 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.005013, allocations: 0 / 0.9838 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.005019, allocations: 4 kB / 0.9838 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.869e-05/0.005078, allocations: 91.27 kB / 0.9839 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.005078, allocations: 4.094 kB / 0.9839 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001858/0.005264, allocations: 3.938 kB / 0.9839 GB, free: 9.215 MB / 0.9356 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.0001151/0.005379, allocations: 95.25 kB / 0.984 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.989e-05/0.005459, allocations: 19.92 kB / 0.984 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.00546, allocations: 0 / 0.984 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.005474, allocations: 4 kB / 0.984 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.00562, allocations: 7.984 kB / 0.984 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.005903, allocations: 112 kB / 0.9841 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.329e-05/0.005976, allocations: 71.34 kB / 0.9842 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.695e-05/0.005993, allocations: 0 / 0.9842 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.006023, allocations: 12.5 kB / 0.9842 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.006023, allocations: 0 / 0.9842 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of Templates: time 0.002615/0.008638, allocations: 329.3 kB / 0.9845 GB, free: 8.523 MB / 0.9356 GB " [Timeout remaining time 300] 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/jenkins/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: 8.095773324370384]