Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 110.7 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 437 MB / 0.7177 GB, free: 4.617 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002732/0.002732, allocations: 63.89 kB / 1.028 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2968, allocations: 151.6 MB / 1.176 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.8432/1.14, allocations: 169.5 MB / 1.341 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01063/1.151, allocations: 7.318 MB / 1.348 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008035/1.152, allocations: 12.19 kB / 1.349 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008432/1.152, allocations: 209.6 kB / 1.349 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001772/1.154, allocations: 0.5762 MB / 1.349 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/1.156, allocations: 439 kB / 1.35 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001115/1.157, allocations: 0.6999 MB / 1.35 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004735/1.157, allocations: 266.4 kB / 1.351 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007718/1.158, allocations: 385.8 kB / 1.351 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/1.158, allocations: 220.2 kB / 1.351 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.486e-05/1.158, allocations: 18.88 kB / 1.351 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/1.16, allocations: 0.7055 MB / 1.352 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/1.16, allocations: 103.6 kB / 1.352 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/1.16, allocations: 163.6 kB / 1.352 GB, free: 10.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00099/1.161, allocations: 0.5735 MB / 1.353 GB, free: 10.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.161, allocations: 0 / 1.353 GB, free: 10.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/1.161, allocations: 4 kB / 1.353 GB, free: 10.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.15e-05/1.161, allocations: 1.062 kB / 1.353 GB, free: 10.36 MB / 1.029 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.001077/1.162, allocations: 0.651 MB / 1.353 GB, free: 9.809 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/1.162, allocations: 9.625 kB / 1.353 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003541/1.163, allocations: 70.94 kB / 1.353 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/1.163, allocations: 320.1 kB / 1.354 GB, free: 9.516 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/1.163, allocations: 18.38 kB / 1.354 GB, free: 9.508 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/1.163, allocations: 19.62 kB / 1.354 GB, free: 9.504 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/1.164, allocations: 303.7 kB / 1.354 GB, free: 9.305 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.164, allocations: 0 / 1.354 GB, free: 9.305 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/1.164, allocations: 16.22 kB / 1.354 GB, free: 9.293 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/1.164, allocations: 4.781 kB / 1.354 GB, free: 9.293 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/1.164, allocations: 178.4 kB / 1.354 GB, free: 9.238 MB / 1.029 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.001876/1.166, allocations: 1.695 MB / 1.356 GB, free: 7.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/1.167, allocations: 89.77 kB / 1.356 GB, free: 7.727 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/1.167, allocations: 75.36 kB / 1.356 GB, free: 7.703 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003129/1.167, allocations: 192.5 kB / 1.356 GB, free: 7.508 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/1.167, allocations: 35.78 kB / 1.356 GB, free: 7.465 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/1.167, allocations: 0 / 1.356 GB, free: 7.465 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0007305/1.168, allocations: 228.8 kB / 1.357 GB, free: 7.375 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/1.168, allocations: 56.59 kB / 1.357 GB, free: 7.309 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/1.168, allocations: 329.4 kB / 1.357 GB, free: 7.129 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/1.168, allocations: 28.02 kB / 1.357 GB, free: 7.098 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/1.169, allocations: 196.1 kB / 1.357 GB, free: 6.934 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/1.169, allocations: 48.06 kB / 1.357 GB, free: 6.895 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.693e-05/1.169, allocations: 48.95 kB / 1.357 GB, free: 6.863 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.169, allocations: 338.1 kB / 1.358 GB, free: 6.539 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/1.169, allocations: 62.95 kB / 1.358 GB, free: 6.516 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/1.169, allocations: 196.8 kB / 1.358 GB, free: 6.328 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/1.17, allocations: 234.8 kB / 1.358 GB, free: 6.141 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.17, allocations: 2.156 kB / 1.358 GB, free: 6.141 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004954/1.17, allocations: 256.6 kB / 1.358 GB, free: 6.027 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.17, allocations: 6.594 kB / 1.358 GB, free: 6.027 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.17, allocations: 3.5 kB / 1.358 GB, free: 6.027 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/1.17, allocations: 4.781 kB / 1.358 GB, free: 6.027 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/1.171, allocations: 45.83 kB / 1.358 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/1.171, allocations: 13.34 kB / 1.358 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/1.171, allocations: 35.5 kB / 1.358 GB, free: 6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/1.171, allocations: 16.56 kB / 1.358 GB, free: 5.996 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002507/1.171, allocations: 168.8 kB / 1.359 GB, free: 5.887 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003073/1.171, allocations: 190.2 kB / 1.359 GB, free: 5.703 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004172/1.172, allocations: 230 kB / 1.359 GB, free: 5.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.504e-06/1.172, allocations: 1.25 kB / 1.359 GB, free: 5.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005666/1.172, allocations: 256.5 kB / 1.359 GB, free: 5.406 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.172, allocations: 10.59 kB / 1.359 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.172, allocations: 4.625 kB / 1.359 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/1.172, allocations: 5.594 kB / 1.359 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/1.173, allocations: 49.27 kB / 1.359 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/1.173, allocations: 12.02 kB / 1.359 GB, free: 5.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/1.173, allocations: 28.09 kB / 1.359 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/1.173, allocations: 10.47 kB / 1.359 GB, free: 5.379 MB / 1.029 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.0001461/1.173, allocations: 203.1 kB / 1.359 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/1.173, allocations: 32.34 kB / 1.359 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/1.174, allocations: 166.6 kB / 1.36 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.174, allocations: 2.281 kB / 1.36 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.174, allocations: 0 / 1.36 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.174, allocations: 0.5 kB / 1.36 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/1.175, allocations: 0.6065 MB / 1.36 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.175, allocations: 2.25 kB / 1.36 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/1.175, allocations: 37.7 kB / 1.36 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/1.175, allocations: 2.812 kB / 1.36 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/1.175, allocations: 3.188 kB / 1.36 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/1.175, allocations: 6.562 kB / 1.36 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.175, allocations: 7.125 kB / 1.36 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/1.175, allocations: 297.8 kB / 1.361 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/1.175, allocations: 121.6 kB / 1.361 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/1.175, allocations: 2.469 kB / 1.361 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/1.176, allocations: 15.38 kB / 1.361 GB, free: 4.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/1.176, allocations: 20.02 kB / 1.361 GB, free: 4.238 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/1.176, allocations: 8.594 kB / 1.361 GB, free: 4.234 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002561/1.176, allocations: 225.4 kB / 1.361 GB, free: 4.113 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.176, allocations: 0 / 1.361 GB, free: 4.113 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006198/1.177, allocations: 132.8 kB / 1.361 GB, free: 4.094 MB / 1.029 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.0004629/1.177, allocations: 166 kB / 1.361 GB, free: 3.984 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006216/1.178, allocations: 248.4 kB / 1.361 GB, free: 3.914 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.178, allocations: 5.031 kB / 1.361 GB, free: 3.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/1.178, allocations: 63.92 kB / 1.362 GB, free: 3.891 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007455/1.179, allocations: 123.8 kB / 1.362 GB, free: 3.855 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009159/1.18, allocations: 0.5451 MB / 1.362 GB, free: 3.469 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/1.18, allocations: 0.7728 MB / 1.363 GB, free: 2.766 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/1.18, allocations: 25.12 kB / 1.363 GB, free: 2.758 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/1.18, allocations: 0 / 1.363 GB, free: 2.758 MB / 1.029 GB Notification: Performance of Templates: time 0.007954/1.188, allocations: 4.465 MB / 1.367 GB, free: 1.941 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.913285859045573]