Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.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.00274/0.00274, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.00293/0.00293, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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.591/1.591, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 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.993/2.993, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 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.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 0.8108 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.34e-05, allocations: 6.25 kB / 0.8108 GB, free: 1.918 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2424/0.2424, allocations: 165.7 MB / 0.9727 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.2537, allocations: 7.466 MB / 0.98 GB, free: 4.16 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/0.2543, allocations: 19.81 kB / 0.98 GB, free: 4.141 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0008345/0.2551, allocations: 214.5 kB / 0.9802 GB, free: 3.93 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.2569, allocations: 0.5984 MB / 0.9808 GB, free: 3.328 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.2584, allocations: 462.4 kB / 0.9812 GB, free: 2.875 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001025/0.2594, allocations: 0.7204 MB / 0.9819 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.2598, allocations: 227.5 kB / 0.9821 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.2612, allocations: 0.6306 MB / 0.9828 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.2616, allocations: 195.3 kB / 0.9829 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.2616, allocations: 20 kB / 0.983 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.2628, allocations: 0.5727 MB / 0.9835 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.2629, allocations: 115.6 kB / 0.9836 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.2631, allocations: 107.7 kB / 0.9837 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.2641, allocations: 0.5918 MB / 0.9843 GB, free: 15.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2641, allocations: 0 / 0.9843 GB, free: 15.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2641, allocations: 0 / 0.9843 GB, free: 15.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.2641, allocations: 0 / 0.9843 GB, free: 15.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001088/0.2652, allocations: 0.6858 MB / 0.985 GB, free: 14.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.2652, allocations: 12.03 kB / 0.985 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004192/0.2657, allocations: 103.5 kB / 0.9851 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.2662, allocations: 266.9 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.2662, allocations: 20.5 kB / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.2662, allocations: 28 kB / 0.9854 GB, free: 14.53 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.2667, allocations: 304.5 kB / 0.9857 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.2667, allocations: 7.938 kB / 0.9857 GB, free: 14.17 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.2668, allocations: 11.98 kB / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.2668, allocations: 8 kB / 0.9857 GB, free: 14.15 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.2671, allocations: 123.5 kB / 0.9858 GB, free: 14.03 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.2693, allocations: 2 MB / 0.9878 GB, free: 11.94 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.2696, allocations: 79 kB / 0.9879 GB, free: 11.85 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.2697, allocations: 59.69 kB / 0.9879 GB, free: 11.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/0.2699, allocations: 31.98 kB / 0.9879 GB, free: 11.76 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.2699, allocations: 33.39 kB / 0.988 GB, free: 11.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.2699, allocations: 4 kB / 0.988 GB, free: 11.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0006053/0.2705, allocations: 177.3 kB / 0.9882 GB, free: 11.53 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.2706, allocations: 55.41 kB / 0.9882 GB, free: 11.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.271, allocations: 370.2 kB / 0.9886 GB, free: 11.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.271, allocations: 33.64 kB / 0.9886 GB, free: 11.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.2712, allocations: 262.8 kB / 0.9888 GB, free: 10.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.2713, allocations: 47.58 kB / 0.9889 GB, free: 10.74 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-05/0.2714, allocations: 51.38 kB / 0.9889 GB, free: 10.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002831/0.2717, allocations: 0.5196 MB / 0.9894 GB, free: 10.15 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.2718, allocations: 51.66 kB / 0.9895 GB, free: 10.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.2722, allocations: 409.6 kB / 0.9899 GB, free: 9.566 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.2725, allocations: 242.7 kB / 0.9901 GB, free: 9.262 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2726, allocations: 0 / 0.9901 GB, free: 9.262 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004255/0.273, allocations: 225.3 kB / 0.9903 GB, free: 9.035 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.273, allocations: 11.94 kB / 0.9903 GB, free: 9.023 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.273, allocations: 4 kB / 0.9903 GB, free: 9.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.273, allocations: 7.938 kB / 0.9904 GB, free: 9.012 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.2732, allocations: 47.91 kB / 0.9904 GB, free: 8.965 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2732, allocations: 4 kB / 0.9904 GB, free: 8.961 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.2734, allocations: 23.89 kB / 0.9904 GB, free: 8.938 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.2734, allocations: 8 kB / 0.9904 GB, free: 8.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002258/0.2737, allocations: 187 kB / 0.9906 GB, free: 8.742 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004097/0.2741, allocations: 420.5 kB / 0.991 GB, free: 8.207 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00035/0.2744, allocations: 238.8 kB / 0.9912 GB, free: 7.906 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.502e-06/0.2744, allocations: 0 / 0.9912 GB, free: 7.906 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004139/0.2748, allocations: 221.4 kB / 0.9915 GB, free: 7.684 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2749, allocations: 10.19 kB / 0.9915 GB, free: 7.676 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2749, allocations: 4 kB / 0.9915 GB, free: 7.672 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/0.2749, allocations: 4 kB / 0.9915 GB, free: 7.668 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.275, allocations: 47.91 kB / 0.9915 GB, free: 7.621 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.275, allocations: 11.88 kB / 0.9915 GB, free: 7.609 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.2752, allocations: 19.89 kB / 0.9915 GB, free: 7.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.2753, allocations: 19.98 kB / 0.9916 GB, free: 7.57 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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 0.0001945/0.2754, allocations: 280 kB / 0.9918 GB, free: 7.289 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.2755, allocations: 31.92 kB / 0.9919 GB, free: 7.258 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.2758, allocations: 127.8 kB / 0.992 GB, free: 7.125 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2758, allocations: 3.938 kB / 0.992 GB, free: 7.121 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.2758, allocations: 8 kB / 0.992 GB, free: 7.113 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2758, allocations: 3.984 kB / 0.992 GB, free: 7.109 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000991/0.2768, allocations: 0.6005 MB / 0.9926 GB, free: 6.438 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2768, allocations: 4 kB / 0.9926 GB, free: 6.434 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.277, allocations: 23.92 kB / 0.9926 GB, free: 6.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.277, allocations: 4 kB / 0.9926 GB, free: 6.406 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.277, allocations: 4 kB / 0.9926 GB, free: 6.402 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.277, allocations: 0 / 0.9926 GB, free: 6.402 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.277, allocations: 4 kB / 0.9926 GB, free: 6.398 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.2774, allocations: 341.4 kB / 0.9929 GB, free: 6.016 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.943e-05/0.2775, allocations: 35.8 kB / 0.993 GB, free: 5.98 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.2775, allocations: 8.062 kB / 0.993 GB, free: 5.973 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.2777, allocations: 8 kB / 0.993 GB, free: 5.965 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.2777, allocations: 7.984 kB / 0.993 GB, free: 5.957 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.2777, allocations: 11.94 kB / 0.993 GB, free: 5.945 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003741/0.2781, allocations: 239 kB / 0.9932 GB, free: 5.715 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2781, allocations: 0 / 0.9932 GB, free: 5.715 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005772/0.2787, allocations: 155.6 kB / 0.9934 GB, free: 5.562 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * 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.0003041/0.279, allocations: 147.1 kB / 0.9935 GB, free: 5.41 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005098/0.2795, allocations: 227.3 kB / 0.9938 GB, free: 5.18 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.2795, allocations: 4 kB / 0.9938 GB, free: 5.176 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.2796, allocations: 49.7 kB / 0.9938 GB, free: 5.125 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006688/0.2803, allocations: 102.5 kB / 0.9939 GB, free: 5.027 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008544/0.2811, allocations: 0.5007 MB / 0.9944 GB, free: 4.465 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.2813, allocations: 175.7 kB / 0.9946 GB, free: 4.277 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002127/0.2815, allocations: 70.91 kB / 0.9946 GB, free: 4.207 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.2816, allocations: 24.5 kB / 0.9946 GB, free: 4.184 MB / 0.948 GB Notification: Performance of SimCode: time 4.31e-07/0.2816, allocations: 0 / 0.9946 GB, free: 4.184 MB / 0.948 GB Notification: Performance of Templates: time 0.009762/0.2914, allocations: 4.23 MB / 0.9988 GB, free: 80 kB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.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.737444131053053]