Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001343/0.001343, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001776/0.001776, allocations: 161.4 kB / 23.01 MB, free: 4.602 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.45/1.45, allocations: 177.2 MB / 203.4 MB, free: 8.887 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.715/2.715, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 67.89 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3257, allocations: 169.9 MB / 1.117 GB, free: 2.566 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.8595/1.185, allocations: 149.5 MB / 1.263 GB, free: 11.27 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01013/1.195, allocations: 6.695 MB / 1.27 GB, free: 6.781 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007564/1.196, allocations: 19.94 kB / 1.27 GB, free: 6.77 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009176/1.197, allocations: 214.8 kB / 1.27 GB, free: 6.637 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002021/1.199, allocations: 0.577 MB / 1.271 GB, free: 6.336 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/1.201, allocations: 445.3 kB / 1.271 GB, free: 6.121 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001218/1.202, allocations: 0.7088 MB / 1.272 GB, free: 5.805 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004529/1.202, allocations: 211.8 kB / 1.272 GB, free: 5.719 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008919/1.203, allocations: 393.4 kB / 1.272 GB, free: 5.551 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/1.204, allocations: 217.4 kB / 1.273 GB, free: 5.469 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.672e-05/1.204, allocations: 20.06 kB / 1.273 GB, free: 5.469 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/1.205, allocations: 0.5816 MB / 1.273 GB, free: 5.285 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/1.205, allocations: 107.8 kB / 1.273 GB, free: 5.242 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/1.205, allocations: 135 kB / 1.274 GB, free: 5.176 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/1.206, allocations: 0.5589 MB / 1.274 GB, free: 4.98 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.206, allocations: 5.281 kB / 1.274 GB, free: 4.977 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.774e-06/1.206, allocations: 0 / 1.274 GB, free: 4.977 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.167e-06/1.206, allocations: 0.6094 kB / 1.274 GB, free: 4.977 MB / 1.123 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.001025/1.207, allocations: 0.5817 MB / 1.275 GB, free: 4.516 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/1.207, allocations: 10.05 kB / 1.275 GB, free: 4.516 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/1.208, allocations: 69.2 kB / 1.275 GB, free: 4.488 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/1.208, allocations: 265 kB / 1.275 GB, free: 4.285 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/1.208, allocations: 18.38 kB / 1.275 GB, free: 4.277 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/1.209, allocations: 24.28 kB / 1.275 GB, free: 4.27 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/1.209, allocations: 299.7 kB / 1.275 GB, free: 4.082 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/1.209, allocations: 1.312 kB / 1.275 GB, free: 4.082 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/1.209, allocations: 18.56 kB / 1.275 GB, free: 4.066 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/1.209, allocations: 5.594 kB / 1.275 GB, free: 4.066 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/1.21, allocations: 172.8 kB / 1.275 GB, free: 4.016 MB / 1.123 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.00177/1.211, allocations: 1.456 MB / 1.277 GB, free: 2.773 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/1.212, allocations: 89.67 kB / 1.277 GB, free: 2.727 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/1.212, allocations: 74.53 kB / 1.277 GB, free: 2.703 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/1.212, allocations: 33.75 kB / 1.277 GB, free: 2.699 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/1.212, allocations: 35.94 kB / 1.277 GB, free: 2.656 MB / 1.123 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/1.212, allocations: 0 / 1.277 GB, free: 2.656 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.0007623/1.213, allocations: 228.2 kB / 1.277 GB, free: 2.566 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/1.213, allocations: 53.34 kB / 1.277 GB, free: 2.504 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/1.213, allocations: 273.6 kB / 1.278 GB, free: 2.344 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/1.213, allocations: 36.3 kB / 1.278 GB, free: 2.305 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/1.213, allocations: 200.1 kB / 1.278 GB, free: 2.133 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/1.213, allocations: 44.73 kB / 1.278 GB, free: 2.098 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-05/1.213, allocations: 49.14 kB / 1.278 GB, free: 2.066 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.214, allocations: 341.1 kB / 1.278 GB, free: 1.738 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/1.214, allocations: 57.72 kB / 1.278 GB, free: 1.719 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/1.214, allocations: 376.1 kB / 1.279 GB, free: 1.316 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/1.215, allocations: 235.1 kB / 1.279 GB, free: 1.133 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.215, allocations: 1.219 kB / 1.279 GB, free: 1.133 MB / 1.123 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005861/1.215, allocations: 254.7 kB / 1.279 GB, free: 1.02 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.215, allocations: 10.84 kB / 1.279 GB, free: 1.016 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.215, allocations: 9.469 kB / 1.279 GB, free: 1.012 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.215, allocations: 4.75 kB / 1.279 GB, free: 1.012 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/1.216, allocations: 46.45 kB / 1.279 GB, free: 1.008 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/1.216, allocations: 6.016 kB / 1.279 GB, free: 1.008 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/1.216, allocations: 34.81 kB / 1.279 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/1.216, allocations: 14.19 kB / 1.279 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002785/1.216, allocations: 168 kB / 1.279 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004219/1.217, allocations: 377 kB / 1.28 GB, free: 492 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004182/1.217, allocations: 229.4 kB / 1.28 GB, free: 308 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/1.217, allocations: 1.25 kB / 1.28 GB, free: 308 kB / 1.123 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005188/1.217, allocations: 249.6 kB / 1.28 GB, free: 196 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/1.217, allocations: 6.922 kB / 1.28 GB, free: 196 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.217, allocations: 11.78 kB / 1.28 GB, free: 188 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.383e-06/1.217, allocations: 8.984 kB / 1.28 GB, free: 184 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/1.218, allocations: 46.06 kB / 1.28 GB, free: 180 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/1.218, allocations: 12.33 kB / 1.28 GB, free: 176 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/1.218, allocations: 25.64 kB / 1.28 GB, free: 168 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/1.218, allocations: 10.94 kB / 1.28 GB, free: 168 kB / 1.123 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.0001642/1.218, allocations: 195.3 kB / 1.281 GB, free: 15.97 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/1.218, allocations: 31.75 kB / 1.281 GB, free: 15.95 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/1.219, allocations: 166 kB / 1.281 GB, free: 15.87 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/1.219, allocations: 1.984 kB / 1.281 GB, free: 15.87 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.219, allocations: 0 / 1.281 GB, free: 15.87 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.219, allocations: 2.172 kB / 1.281 GB, free: 15.87 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/1.22, allocations: 0.5334 MB / 1.281 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.22, allocations: 5 kB / 1.281 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/1.22, allocations: 26.67 kB / 1.281 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.22, allocations: 2.438 kB / 1.281 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/1.22, allocations: 4.453 kB / 1.281 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/1.22, allocations: 6.531 kB / 1.281 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.22, allocations: 2.266 kB / 1.281 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/1.22, allocations: 304.1 kB / 1.282 GB, free: 15.24 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-05/1.22, allocations: 39.38 kB / 1.282 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/1.22, allocations: 3.266 kB / 1.282 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/1.221, allocations: 10.05 kB / 1.282 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/1.221, allocations: 17.67 kB / 1.282 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/1.221, allocations: 5.906 kB / 1.282 GB, free: 15.21 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002053/1.221, allocations: 188 kB / 1.282 GB, free: 15.1 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.221, allocations: 0 / 1.282 GB, free: 15.1 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006758/1.222, allocations: 148.9 kB / 1.282 GB, free: 15.07 MB / 1.139 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.000317/1.222, allocations: 152.1 kB / 1.282 GB, free: 14.95 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0006242/1.222, allocations: 237.2 kB / 1.282 GB, free: 14.89 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.222, allocations: 1.5 kB / 1.282 GB, free: 14.89 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/1.223, allocations: 69.39 kB / 1.282 GB, free: 14.86 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006724/1.223, allocations: 92.59 kB / 1.283 GB, free: 14.84 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009743/1.224, allocations: 0.496 MB / 1.283 GB, free: 14.5 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/1.224, allocations: 172 kB / 1.283 GB, free: 14.41 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002508/1.225, allocations: 79.42 kB / 1.283 GB, free: 14.39 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/1.225, allocations: 27.75 kB / 1.283 GB, free: 14.38 MB / 1.139 GB Notification: Performance of SimCode: time 4.11e-07/1.225, allocations: 0 / 1.283 GB, free: 14.38 MB / 1.139 GB Notification: Performance of Templates: time 0.01085/1.236, allocations: 4.156 MB / 1.287 GB, free: 13.92 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.170480050030164]