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.001481/0.001481, 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.001607/0.001607, allocations: 218 kB / 23.01 MB, free: 4.605 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.322/1.322, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] 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 2.863/2.863, allocations: 0.49 GB / 0.7958 GB, free: 33.39 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.002168/0.002168, allocations: 61.88 kB / 1.155 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3068, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1923/0.4991, allocations: 173.1 MB / 1.496 GB, free: 3.664 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00885/0.508, allocations: 7.417 MB / 1.503 GB, free: 12.23 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005036/0.5085, allocations: 19.81 kB / 1.503 GB, free: 12.21 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006818/0.5092, allocations: 218.6 kB / 1.504 GB, free: 11.99 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.5107, allocations: 0.6067 MB / 1.504 GB, free: 11.38 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.5118, allocations: 445.3 kB / 1.505 GB, free: 10.95 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0009137/0.5127, allocations: 0.7167 MB / 1.505 GB, free: 10.23 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.5131, allocations: 211.4 kB / 1.506 GB, free: 10.02 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.5142, allocations: 0.5488 MB / 1.506 GB, free: 9.473 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.5145, allocations: 234.9 kB / 1.506 GB, free: 9.242 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.5145, allocations: 20 kB / 1.506 GB, free: 9.223 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.5156, allocations: 0.721 MB / 1.507 GB, free: 8.5 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.5158, allocations: 111.6 kB / 1.507 GB, free: 8.391 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.5159, allocations: 159.2 kB / 1.507 GB, free: 8.234 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0008202/0.5167, allocations: 0.5722 MB / 1.508 GB, free: 7.66 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5168, allocations: 0 / 1.508 GB, free: 7.66 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5168, allocations: 0 / 1.508 GB, free: 7.66 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.5168, allocations: 0 / 1.508 GB, free: 7.66 MB / 1.201 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.0008782/0.5176, allocations: 0.5822 MB / 1.508 GB, free: 7.047 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.5177, allocations: 12.03 kB / 1.508 GB, free: 7.035 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003368/0.518, allocations: 67.7 kB / 1.509 GB, free: 6.969 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.5185, allocations: 256 kB / 1.509 GB, free: 6.691 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.5185, allocations: 20.44 kB / 1.509 GB, free: 6.672 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.5185, allocations: 24 kB / 1.509 GB, free: 6.648 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.519, allocations: 300.6 kB / 1.509 GB, free: 6.312 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.519, allocations: 0 / 1.509 GB, free: 6.312 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.519, allocations: 11.94 kB / 1.509 GB, free: 6.301 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.5191, allocations: 11.94 kB / 1.509 GB, free: 6.289 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.5194, allocations: 183.4 kB / 1.509 GB, free: 6.109 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.5211, allocations: 1.66 MB / 1.511 GB, free: 4.336 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.5213, allocations: 82.56 kB / 1.511 GB, free: 4.246 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.5215, allocations: 76.84 kB / 1.511 GB, free: 4.168 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.5217, allocations: 35.92 kB / 1.511 GB, free: 4.133 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.5217, allocations: 38.44 kB / 1.511 GB, free: 4.086 MB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.5217, allocations: 0 / 1.511 GB, free: 4.086 MB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.0006359/0.5223, allocations: 229.4 kB / 1.511 GB, free: 3.855 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.5224, allocations: 51.41 kB / 1.511 GB, free: 3.793 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.5227, allocations: 328.4 kB / 1.512 GB, free: 3.457 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.5227, allocations: 25.7 kB / 1.512 GB, free: 3.426 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.5229, allocations: 200.1 kB / 1.512 GB, free: 3.227 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.5229, allocations: 43.58 kB / 1.512 GB, free: 3.184 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.246e-05/0.523, allocations: 49.7 kB / 1.512 GB, free: 3.129 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5231, allocations: 342.8 kB / 1.512 GB, free: 2.785 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.5233, allocations: 56.81 kB / 1.512 GB, free: 2.727 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.5235, allocations: 202.7 kB / 1.513 GB, free: 2.469 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.5239, allocations: 233.4 kB / 1.513 GB, free: 2.191 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5239, allocations: 0 / 1.513 GB, free: 2.191 MB / 1.201 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004542/0.5243, allocations: 257 kB / 1.513 GB, free: 1.934 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.5244, allocations: 11.98 kB / 1.513 GB, free: 1.922 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5244, allocations: 4 kB / 1.513 GB, free: 1.918 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.5244, allocations: 4 kB / 1.513 GB, free: 1.914 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.5246, allocations: 47.92 kB / 1.513 GB, free: 1.867 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.5246, allocations: 8.391 kB / 1.513 GB, free: 1.859 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.5248, allocations: 35.83 kB / 1.513 GB, free: 1.824 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.5248, allocations: 12.14 kB / 1.513 GB, free: 1.812 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002302/0.5251, allocations: 175.9 kB / 1.513 GB, free: 1.637 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002607/0.5253, allocations: 193.2 kB / 1.514 GB, free: 1.387 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003502/0.5257, allocations: 233.5 kB / 1.514 GB, free: 1.109 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.5257, allocations: 0 / 1.514 GB, free: 1.109 MB / 1.201 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000445/0.5261, allocations: 257 kB / 1.514 GB, free: 0.8516 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.5261, allocations: 7.938 kB / 1.514 GB, free: 0.8438 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/0.5261, allocations: 4 kB / 1.514 GB, free: 0.8398 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.5261, allocations: 8 kB / 1.514 GB, free: 0.832 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.5263, allocations: 43.91 kB / 1.514 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.5263, allocations: 8.406 kB / 1.514 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.5265, allocations: 31.88 kB / 1.514 GB, free: 0.75 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.5265, allocations: 16 kB / 1.514 GB, free: 0.7344 MB / 1.201 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.0001099/0.5266, allocations: 192.1 kB / 1.514 GB, free: 0.5391 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/0.5267, allocations: 39.73 kB / 1.514 GB, free: 0.5 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.5271, allocations: 176.2 kB / 1.515 GB, free: 328 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5271, allocations: 0 / 1.515 GB, free: 328 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5271, allocations: 4 kB / 1.515 GB, free: 324 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5271, allocations: 0 / 1.515 GB, free: 324 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008777/0.5279, allocations: 0.5811 MB / 1.515 GB, free: 15.66 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5279, allocations: 4 kB / 1.515 GB, free: 15.66 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.5281, allocations: 23.92 kB / 1.515 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.5281, allocations: 4 kB / 1.515 GB, free: 15.63 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.5281, allocations: 4 kB / 1.515 GB, free: 15.63 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.5281, allocations: 3.984 kB / 1.515 GB, free: 15.62 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.5281, allocations: 7.938 kB / 1.515 GB, free: 15.62 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.5284, allocations: 306 kB / 1.515 GB, free: 15.28 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 8.177e-05/0.5285, allocations: 39.98 kB / 1.515 GB, free: 15.24 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.5286, allocations: 0 / 1.515 GB, free: 15.24 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.5287, allocations: 19.97 kB / 1.516 GB, free: 15.22 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.5288, allocations: 11.92 kB / 1.516 GB, free: 15.21 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.5288, allocations: 8 kB / 1.516 GB, free: 15.2 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002194/0.529, allocations: 227 kB / 1.516 GB, free: 14.98 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.529, allocations: 4 kB / 1.516 GB, free: 14.98 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005541/0.5296, allocations: 139.8 kB / 1.516 GB, free: 14.84 MB / 1.217 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.0002391/0.5298, allocations: 151.1 kB / 1.516 GB, free: 14.69 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005267/0.5303, allocations: 241.1 kB / 1.516 GB, free: 14.45 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.5303, allocations: 4 kB / 1.516 GB, free: 14.45 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.5305, allocations: 59.89 kB / 1.516 GB, free: 14.39 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/0.5311, allocations: 121.6 kB / 1.516 GB, free: 14.28 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008225/0.532, allocations: 0.5339 MB / 1.517 GB, free: 13.69 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.5323, allocations: 0.7794 MB / 1.518 GB, free: 12.88 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.696e-05/0.5324, allocations: 31.42 kB / 1.518 GB, free: 12.85 MB / 1.217 GB Notification: Performance of SimCode: time 3.11e-07/0.5324, allocations: 0 / 1.518 GB, free: 12.85 MB / 1.217 GB Notification: Performance of Templates: time 0.007088/0.5395, allocations: 4.507 MB / 1.522 GB, free: 8.383 MB / 1.217 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: 10.853374722995795]