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.001633/0.001633, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002228/0.002228, allocations: 207.8 kB / 23 MB, free: 4.934 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.151/3.151, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.00204/0.00204, allocations: 76.98 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3122, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1897/0.502, allocations: 149.5 MB / 1.473 GB, free: 10.88 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009195/0.5112, allocations: 6.707 MB / 1.48 GB, free: 4.156 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005224/0.5117, allocations: 15.88 kB / 1.48 GB, free: 4.141 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007421/0.5124, allocations: 214.5 kB / 1.48 GB, free: 3.93 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.514, allocations: 0.5756 MB / 1.48 GB, free: 3.352 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.5152, allocations: 449 kB / 1.481 GB, free: 2.914 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009554/0.5162, allocations: 0.709 MB / 1.482 GB, free: 2.203 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003794/0.5166, allocations: 215.4 kB / 1.482 GB, free: 1.992 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.5177, allocations: 0.5488 MB / 1.482 GB, free: 1.441 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.518, allocations: 223 kB / 1.483 GB, free: 1.223 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.518, allocations: 20 kB / 1.483 GB, free: 1.203 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.5191, allocations: 0.5846 MB / 1.483 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.5192, allocations: 115.6 kB / 1.483 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.5194, allocations: 127.4 kB / 1.483 GB, free: 388 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009162/0.5203, allocations: 0.5683 MB / 1.484 GB, free: 15.8 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5203, allocations: 3.938 kB / 1.484 GB, free: 15.8 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5203, allocations: 0 / 1.484 GB, free: 15.8 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.5203, allocations: 0 / 1.484 GB, free: 15.8 MB / 1.186 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.001029/0.5213, allocations: 0.5745 MB / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5214, allocations: 8.031 kB / 1.484 GB, free: 15.19 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003622/0.5218, allocations: 75.7 kB / 1.485 GB, free: 15.11 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005384/0.5223, allocations: 251.9 kB / 1.485 GB, free: 14.84 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.5223, allocations: 24.42 kB / 1.485 GB, free: 14.82 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.5224, allocations: 24 kB / 1.485 GB, free: 14.8 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.5229, allocations: 308.5 kB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.5229, allocations: 0 / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.5229, allocations: 15.92 kB / 1.485 GB, free: 14.44 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.523, allocations: 11.94 kB / 1.485 GB, free: 14.43 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.5233, allocations: 175.5 kB / 1.485 GB, free: 14.25 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.525, allocations: 1.47 MB / 1.487 GB, free: 12.71 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.5253, allocations: 78.56 kB / 1.487 GB, free: 12.62 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.5255, allocations: 80.8 kB / 1.487 GB, free: 12.54 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.5257, allocations: 31.97 kB / 1.487 GB, free: 12.51 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.5257, allocations: 42.5 kB / 1.487 GB, free: 12.46 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.5257, allocations: 0 / 1.487 GB, free: 12.46 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0007266/0.5264, allocations: 213.4 kB / 1.487 GB, free: 12.24 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.5265, allocations: 55.41 kB / 1.487 GB, free: 12.18 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.5268, allocations: 280.5 kB / 1.488 GB, free: 11.89 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.5268, allocations: 25.7 kB / 1.488 GB, free: 11.86 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.527, allocations: 212.1 kB / 1.488 GB, free: 11.64 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.527, allocations: 39.67 kB / 1.488 GB, free: 11.61 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.535e-05/0.5271, allocations: 53.66 kB / 1.488 GB, free: 11.55 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5272, allocations: 330.8 kB / 1.488 GB, free: 11.21 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.5274, allocations: 64.77 kB / 1.488 GB, free: 11.15 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.5278, allocations: 376.1 kB / 1.489 GB, free: 10.68 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.5282, allocations: 233.4 kB / 1.489 GB, free: 10.4 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5282, allocations: 4 kB / 1.489 GB, free: 10.4 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005248/0.5287, allocations: 249.1 kB / 1.489 GB, free: 10.15 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.5287, allocations: 11.94 kB / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5287, allocations: 4.406 kB / 1.489 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.5287, allocations: 8 kB / 1.489 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.529, allocations: 51.91 kB / 1.489 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.529, allocations: 4 kB / 1.489 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.5292, allocations: 35.77 kB / 1.489 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.5292, allocations: 12 kB / 1.489 GB, free: 10.02 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002459/0.5295, allocations: 171.9 kB / 1.489 GB, free: 9.852 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003613/0.5298, allocations: 377 kB / 1.49 GB, free: 9.379 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003693/0.5302, allocations: 237.4 kB / 1.49 GB, free: 9.098 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.5302, allocations: 0 / 1.49 GB, free: 9.098 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004759/0.5307, allocations: 245.5 kB / 1.49 GB, free: 8.852 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.5307, allocations: 7.984 kB / 1.49 GB, free: 8.844 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5307, allocations: 4 kB / 1.49 GB, free: 8.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.5307, allocations: 11.94 kB / 1.49 GB, free: 8.828 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.5309, allocations: 43.92 kB / 1.49 GB, free: 8.785 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.5309, allocations: 8 kB / 1.49 GB, free: 8.777 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.5311, allocations: 31.86 kB / 1.49 GB, free: 8.746 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.5312, allocations: 8 kB / 1.49 GB, free: 8.738 MB / 1.186 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.0001308/0.5313, allocations: 206 kB / 1.49 GB, free: 8.531 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.5313, allocations: 31.75 kB / 1.49 GB, free: 8.5 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003883/0.5317, allocations: 167.8 kB / 1.491 GB, free: 8.332 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.5317, allocations: 0 / 1.491 GB, free: 8.332 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5317, allocations: 0 / 1.491 GB, free: 8.332 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.04e-05/0.5318, allocations: 31.83 kB / 1.491 GB, free: 8.301 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.5319, allocations: 4 kB / 1.491 GB, free: 8.297 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.532, allocations: 7.984 kB / 1.491 GB, free: 8.289 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.5321, allocations: 11.98 kB / 1.491 GB, free: 8.277 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004202/0.5325, allocations: 216.8 kB / 1.491 GB, free: 8.059 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004187/0.5329, allocations: 338.4 kB / 1.491 GB, free: 7.711 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001404/0.5331, allocations: 48.72 kB / 1.491 GB, free: 7.664 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001937/0.5333, allocations: 187.1 kB / 1.491 GB, free: 7.48 MB / 1.186 GB Notification: Performance of Backend: time 6.51e-07/0.5333, allocations: 0 / 1.491 GB, free: 7.48 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.5345, allocations: 401.2 kB / 1.492 GB, free: 7.082 MB / 1.186 GB Notification: Performance of SimCode: time 0.001271/0.5357, allocations: 0.9563 MB / 1.493 GB, free: 6.078 MB / 1.186 GB Notification: Performance of Templates: time 0.01241/0.5482, allocations: 6.366 MB / 1.499 GB, free: 15.82 MB / 1.201 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 400] 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/jenkins1/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.985924070002511]