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.001466/0.001466, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001628/0.001628, allocations: 217.8 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.327/1.327, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 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 2.938/2.938, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: 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.001889/0.001889, allocations: 63.97 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3055, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1882/0.4938, allocations: 173.1 MB / 1.523 GB, free: 10.12 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008609/0.5024, allocations: 7.414 MB / 1.53 GB, free: 2.688 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004515/0.5028, allocations: 19.81 kB / 1.53 GB, free: 2.668 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0006806/0.5035, allocations: 218.6 kB / 1.531 GB, free: 2.453 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.5049, allocations: 0.6018 MB / 1.531 GB, free: 1.852 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.506, allocations: 452.9 kB / 1.532 GB, free: 1.41 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0009048/0.5069, allocations: 0.7168 MB / 1.532 GB, free: 0.6914 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.5073, allocations: 219.4 kB / 1.533 GB, free: 496 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.5083, allocations: 0.5449 MB / 1.533 GB, free: 15.94 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.5086, allocations: 227 kB / 1.533 GB, free: 15.71 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.5086, allocations: 24 kB / 1.533 GB, free: 15.69 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.5097, allocations: 0.721 MB / 1.534 GB, free: 14.97 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.5099, allocations: 111.6 kB / 1.534 GB, free: 14.86 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.51, allocations: 159.2 kB / 1.534 GB, free: 14.7 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0007892/0.5108, allocations: 0.5722 MB / 1.535 GB, free: 14.13 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5108, allocations: 0 / 1.535 GB, free: 14.13 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5108, allocations: 0 / 1.535 GB, free: 14.13 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.5108, allocations: 0 / 1.535 GB, free: 14.13 MB / 1.232 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.0008533/0.5117, allocations: 0.5784 MB / 1.535 GB, free: 13.52 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.5117, allocations: 15.97 kB / 1.535 GB, free: 13.5 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/0.512, allocations: 67.66 kB / 1.536 GB, free: 13.44 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.5125, allocations: 260.1 kB / 1.536 GB, free: 13.15 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.5125, allocations: 16.44 kB / 1.536 GB, free: 13.14 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.5126, allocations: 20 kB / 1.536 GB, free: 13.12 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.513, allocations: 304.5 kB / 1.536 GB, free: 12.78 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.513, allocations: 0 / 1.536 GB, free: 12.78 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.5131, allocations: 15.94 kB / 1.536 GB, free: 12.76 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.5131, allocations: 4 kB / 1.536 GB, free: 12.76 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.5134, allocations: 179.8 kB / 1.536 GB, free: 12.58 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.5151, allocations: 1.663 MB / 1.538 GB, free: 10.8 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.5153, allocations: 90.5 kB / 1.538 GB, free: 10.71 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.5155, allocations: 72.84 kB / 1.538 GB, free: 10.63 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.5157, allocations: 35.92 kB / 1.538 GB, free: 10.6 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.5157, allocations: 30.56 kB / 1.538 GB, free: 10.56 MB / 1.232 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.5157, allocations: 0 / 1.538 GB, free: 10.56 MB / 1.232 GB Notification: Performance of matching and sorting (n=11): time 0.0006404/0.5163, allocations: 237.2 kB / 1.538 GB, free: 10.32 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.5164, allocations: 51.41 kB / 1.538 GB, free: 10.26 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.5167, allocations: 328.4 kB / 1.539 GB, free: 9.922 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.5167, allocations: 25.7 kB / 1.539 GB, free: 9.891 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.5169, allocations: 200.1 kB / 1.539 GB, free: 9.691 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.5169, allocations: 47.61 kB / 1.539 GB, free: 9.645 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.517, allocations: 53.66 kB / 1.539 GB, free: 9.586 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5171, allocations: 338.8 kB / 1.539 GB, free: 9.246 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.5173, allocations: 56.81 kB / 1.539 GB, free: 9.188 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.5175, allocations: 198.1 kB / 1.54 GB, free: 8.934 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.5179, allocations: 237.5 kB / 1.54 GB, free: 8.652 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5179, allocations: 0 / 1.54 GB, free: 8.652 MB / 1.232 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004453/0.5183, allocations: 257 kB / 1.54 GB, free: 8.395 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.5184, allocations: 11.98 kB / 1.54 GB, free: 8.383 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.5184, allocations: 4 kB / 1.54 GB, free: 8.379 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.5184, allocations: 4 kB / 1.54 GB, free: 8.375 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.5186, allocations: 48.33 kB / 1.54 GB, free: 8.328 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.5186, allocations: 7.984 kB / 1.54 GB, free: 8.32 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.5188, allocations: 35.83 kB / 1.54 GB, free: 8.285 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.5188, allocations: 15.94 kB / 1.54 GB, free: 8.27 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002228/0.519, allocations: 168.7 kB / 1.54 GB, free: 8.102 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002361/0.5193, allocations: 194.7 kB / 1.541 GB, free: 7.852 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000334/0.5196, allocations: 237.6 kB / 1.541 GB, free: 7.57 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.5196, allocations: 0 / 1.541 GB, free: 7.57 MB / 1.232 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004243/0.52, allocations: 253.1 kB / 1.541 GB, free: 7.316 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.52, allocations: 7.938 kB / 1.541 GB, free: 7.309 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.52, allocations: 4 kB / 1.541 GB, free: 7.305 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.92e-06/0.5201, allocations: 7.938 kB / 1.541 GB, free: 7.297 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.5202, allocations: 44.38 kB / 1.541 GB, free: 7.254 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5202, allocations: 15.94 kB / 1.541 GB, free: 7.238 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.5204, allocations: 27.88 kB / 1.541 GB, free: 7.211 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.5204, allocations: 8 kB / 1.541 GB, free: 7.203 MB / 1.232 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.0001186/0.5206, allocations: 204.1 kB / 1.541 GB, free: 6.996 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/0.5206, allocations: 35.73 kB / 1.541 GB, free: 6.961 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.521, allocations: 169 kB / 1.541 GB, free: 6.789 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.521, allocations: 4 kB / 1.542 GB, free: 6.785 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.521, allocations: 3.938 kB / 1.542 GB, free: 6.781 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.521, allocations: 3.938 kB / 1.542 GB, free: 6.777 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008808/0.5219, allocations: 0.5811 MB / 1.542 GB, free: 6.125 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5219, allocations: 0 / 1.542 GB, free: 6.125 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.522, allocations: 23.98 kB / 1.542 GB, free: 6.102 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.522, allocations: 4 kB / 1.542 GB, free: 6.098 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.522, allocations: 4 kB / 1.542 GB, free: 6.094 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.522, allocations: 7.922 kB / 1.542 GB, free: 6.086 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.522, allocations: 8.156 kB / 1.542 GB, free: 6.078 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.5224, allocations: 305.3 kB / 1.542 GB, free: 5.742 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.5225, allocations: 35.8 kB / 1.542 GB, free: 5.707 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.5225, allocations: 4 kB / 1.542 GB, free: 5.703 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.5227, allocations: 15.98 kB / 1.542 GB, free: 5.688 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.5227, allocations: 12.11 kB / 1.542 GB, free: 5.676 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.5227, allocations: 4 kB / 1.542 GB, free: 5.672 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002205/0.5229, allocations: 231 kB / 1.543 GB, free: 5.445 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5229, allocations: 3.938 kB / 1.543 GB, free: 5.441 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005313/0.5235, allocations: 147.7 kB / 1.543 GB, free: 5.297 MB / 1.232 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.000233/0.5237, allocations: 139.1 kB / 1.543 GB, free: 5.152 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.5242, allocations: 240.6 kB / 1.543 GB, free: 4.918 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5242, allocations: 0 / 1.543 GB, free: 4.918 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.5244, allocations: 67.83 kB / 1.543 GB, free: 4.852 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.5251, allocations: 114.4 kB / 1.543 GB, free: 4.742 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008123/0.5259, allocations: 0.5418 MB / 1.544 GB, free: 4.148 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.5262, allocations: 0.7717 MB / 1.545 GB, free: 3.348 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.5263, allocations: 27.42 kB / 1.545 GB, free: 3.324 MB / 1.232 GB Notification: Performance of SimCode: time 3.31e-07/0.5263, allocations: 8 kB / 1.545 GB, free: 3.316 MB / 1.232 GB Notification: Performance of Templates: time 0.006973/0.5333, allocations: 4.516 MB / 1.549 GB, free: 14.84 MB / 1.248 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.01149518598686]