Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000988/0.000988, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009213/0.0009213, allocations: 169 kB / 23.02 MB, free: 1.547 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.9427/0.9427, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.986/1.986, allocations: 429.5 MB / 0.6732 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] 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.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_latest_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_latest_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.8782 GB, free: 5.133 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.098e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.129 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1464/0.1465, allocations: 146.8 MB / 1.022 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.4866/0.6331, allocations: 2.599 MB / 1.024 GB, free: 18.94 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005628/0.6337, allocations: 19.41 kB / 1.024 GB, free: 18.94 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0005874/0.6343, allocations: 128 kB / 1.024 GB, free: 18.94 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0009279/0.6352, allocations: 389.4 kB / 1.025 GB, free: 18.94 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.6369, allocations: 0.6662 MB / 1.025 GB, free: 18.93 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.638, allocations: 0.7404 MB / 1.026 GB, free: 18.93 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/0.6384, allocations: 211.2 kB / 1.026 GB, free: 18.92 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007844/0.6391, allocations: 440.5 kB / 1.027 GB, free: 18.92 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.6395, allocations: 197.2 kB / 1.027 GB, free: 18.92 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.6396, allocations: 20.53 kB / 1.027 GB, free: 18.92 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008078/0.6404, allocations: 434.6 kB / 1.027 GB, free: 18.91 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.6405, allocations: 113.7 kB / 1.027 GB, free: 18.91 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.6407, allocations: 120 kB / 1.027 GB, free: 18.91 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0007902/0.6415, allocations: 465.7 kB / 1.028 GB, free: 18.87 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.6415, allocations: 0 / 1.028 GB, free: 18.87 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6415, allocations: 2.5 kB / 1.028 GB, free: 18.87 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.966e-06/0.6415, allocations: 0 / 1.028 GB, free: 18.87 MB / 0.9323 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.0008519/0.6423, allocations: 0.6949 MB / 1.029 GB, free: 18.34 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.6424, allocations: 11.19 kB / 1.029 GB, free: 18.34 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000346/0.6427, allocations: 90.56 kB / 1.029 GB, free: 18.32 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.6431, allocations: 292 kB / 1.029 GB, free: 18.14 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.6432, allocations: 20.06 kB / 1.029 GB, free: 18.14 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.6432, allocations: 27.19 kB / 1.029 GB, free: 18.14 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.6435, allocations: 281.1 kB / 1.029 GB, free: 17.96 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6435, allocations: 0.6875 kB / 1.029 GB, free: 17.96 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.6436, allocations: 10.19 kB / 1.029 GB, free: 17.96 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.6436, allocations: 6.688 kB / 1.029 GB, free: 17.96 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.6437, allocations: 82.72 kB / 1.029 GB, free: 17.96 MB / 0.9323 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.001137/0.6449, allocations: 1.965 MB / 1.031 GB, free: 16.32 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.645, allocations: 59.78 kB / 1.031 GB, free: 16.29 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/0.6451, allocations: 36.22 kB / 1.031 GB, free: 16.28 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.6452, allocations: 22.03 kB / 1.031 GB, free: 16.27 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.6452, allocations: 39.89 kB / 1.031 GB, free: 16.23 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=11): time 1.734e-06/0.6452, allocations: 1.984 kB / 1.031 GB, free: 16.23 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.0003609/0.6456, allocations: 132.1 kB / 1.032 GB, free: 16.18 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.6456, allocations: 56.89 kB / 1.032 GB, free: 16.12 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.6459, allocations: 355.9 kB / 1.032 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.6459, allocations: 26.55 kB / 1.032 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.646, allocations: 262.9 kB / 1.032 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.646, allocations: 39.64 kB / 1.032 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-05/0.6461, allocations: 68.19 kB / 1.032 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.64e-05/0.6462, allocations: 0.5119 MB / 1.033 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.795e-05/0.6462, allocations: 34.41 kB / 1.033 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.6464, allocations: 410.7 kB / 1.033 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.6466, allocations: 311.7 kB / 1.034 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6466, allocations: 1.656 kB / 1.034 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003408/0.647, allocations: 253.2 kB / 1.034 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.647, allocations: 7.797 kB / 1.034 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.647, allocations: 5.812 kB / 1.034 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.647, allocations: 8.625 kB / 1.034 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.6472, allocations: 61.5 kB / 1.034 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.6472, allocations: 9.094 kB / 1.034 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.6473, allocations: 39.31 kB / 1.034 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.6474, allocations: 20.09 kB / 1.034 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.346e-05/0.6475, allocations: 159.6 kB / 1.034 GB, free: 14.21 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001559/0.6476, allocations: 399.7 kB / 1.035 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002022/0.6478, allocations: 311.6 kB / 1.035 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.594e-06/0.6478, allocations: 2.625 kB / 1.035 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0002931/0.6481, allocations: 245.8 kB / 1.035 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.6481, allocations: 11.91 kB / 1.035 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.6481, allocations: 8.719 kB / 1.035 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.6481, allocations: 10.78 kB / 1.035 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.6483, allocations: 61.69 kB / 1.035 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.6483, allocations: 13.06 kB / 1.035 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.6484, allocations: 26.83 kB / 1.035 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.6484, allocations: 15.34 kB / 1.035 GB, free: 13.39 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (32): * Single equations (assignments): 32 * 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.251e-05/0.6485, allocations: 294.2 kB / 1.035 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.6485, allocations: 40.55 kB / 1.036 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.6487, allocations: 105.4 kB / 1.036 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6487, allocations: 1.438 kB / 1.036 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.6487, allocations: 1.906 kB / 1.036 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.6487, allocations: 1.156 kB / 1.036 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.6492, allocations: 0.539 MB / 1.036 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6492, allocations: 1.938 kB / 1.036 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-05/0.6493, allocations: 25.62 kB / 1.036 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.6493, allocations: 4.297 kB / 1.036 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.6493, allocations: 3.969 kB / 1.036 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.6493, allocations: 2.641 kB / 1.036 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6493, allocations: 2.625 kB / 1.036 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.6495, allocations: 325.6 kB / 1.036 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.6495, allocations: 37.22 kB / 1.037 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.6495, allocations: 3.922 kB / 1.037 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.6496, allocations: 6.094 kB / 1.037 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.6496, allocations: 19.31 kB / 1.037 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.6497, allocations: 8.016 kB / 1.037 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001454/0.6498, allocations: 229.7 kB / 1.037 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.1e-08/0.6498, allocations: 0 / 1.037 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004737/0.6503, allocations: 156.7 kB / 1.037 GB, free: 12.22 MB / 0.9323 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.0002138/0.6505, allocations: 141.9 kB / 1.037 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003274/0.6508, allocations: 222.4 kB / 1.037 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.6508, allocations: 1.094 kB / 1.037 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 4.784e-05/0.6509, allocations: 41.23 kB / 1.037 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.6513, allocations: 88.36 kB / 1.037 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008883/0.6522, allocations: 0.5366 MB / 1.038 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.148e-05/0.6522, allocations: 100.7 kB / 1.038 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001993/0.6524, allocations: 79.89 kB / 1.038 GB, free: 11.63 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.6525, allocations: 25.98 kB / 1.038 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of SimCode: time 5.61e-07/0.6525, allocations: 0 / 1.038 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of Templates: time 0.008414/0.6609, allocations: 4.258 MB / 1.042 GB, free: 11.36 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.826132921036333]