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.00132/0.00132, allocations: 113.8 kB / 17.13 MB, free: 5.938 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.001332/0.001332, allocations: 197.2 kB / 20.08 MB, free: 3 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.47/1.47, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.677/2.677, allocations: 443.5 MB / 0.7293 GB, free: 14.61 MB / 0.5762 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.001978/0.001978, allocations: 63.89 kB / 1.057 GB, free: 2.027 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3252, allocations: 160.7 MB / 1.214 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.8347/1.16, allocations: 170 MB / 1.38 GB, free: 9.488 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009744/1.17, allocations: 7.355 MB / 1.387 GB, free: 4.234 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006154/1.17, allocations: 20.16 kB / 1.387 GB, free: 4.223 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007482/1.171, allocations: 215.6 kB / 1.388 GB, free: 4.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001754/1.173, allocations: 0.5939 MB / 1.388 GB, free: 3.715 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/1.174, allocations: 439.1 kB / 1.389 GB, free: 3.402 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001118/1.175, allocations: 0.7008 MB / 1.389 GB, free: 3.008 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000407/1.176, allocations: 231 kB / 1.389 GB, free: 2.863 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007827/1.177, allocations: 387.5 kB / 1.39 GB, free: 2.633 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/1.177, allocations: 230 kB / 1.39 GB, free: 2.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/1.177, allocations: 22.12 kB / 1.39 GB, free: 2.496 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/1.178, allocations: 0.7309 MB / 1.391 GB, free: 2.074 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/1.178, allocations: 113.5 kB / 1.391 GB, free: 1.996 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/1.179, allocations: 155.8 kB / 1.391 GB, free: 1.902 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009364/1.179, allocations: 0.5725 MB / 1.392 GB, free: 1.555 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.179, allocations: 0 / 1.392 GB, free: 1.555 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/1.179, allocations: 0 / 1.392 GB, free: 1.555 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.188e-05/1.18, allocations: 1.219 kB / 1.392 GB, free: 1.555 MB / 1.061 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.0009901/1.18, allocations: 0.6569 MB / 1.392 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/1.181, allocations: 9.875 kB / 1.392 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/1.181, allocations: 68.02 kB / 1.392 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/1.181, allocations: 326 kB / 1.393 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/1.181, allocations: 17.34 kB / 1.393 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/1.181, allocations: 20.41 kB / 1.393 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/1.182, allocations: 304 kB / 1.393 GB, free: 376 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.182, allocations: 1.562 kB / 1.393 GB, free: 376 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/1.182, allocations: 11.47 kB / 1.393 GB, free: 368 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/1.182, allocations: 5.125 kB / 1.393 GB, free: 368 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/1.182, allocations: 177.1 kB / 1.393 GB, free: 284 kB / 1.061 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.001833/1.184, allocations: 1.697 MB / 1.395 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/1.185, allocations: 86.55 kB / 1.395 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/1.185, allocations: 74.97 kB / 1.395 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/1.185, allocations: 189.1 kB / 1.395 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/1.185, allocations: 38.59 kB / 1.395 GB, free: 14.33 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/1.185, allocations: 3.938 kB / 1.395 GB, free: 14.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.00071/1.186, allocations: 223.2 kB / 1.395 GB, free: 14.21 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/1.186, allocations: 52.72 kB / 1.395 GB, free: 14.15 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/1.186, allocations: 321.1 kB / 1.396 GB, free: 13.94 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/1.186, allocations: 32.17 kB / 1.396 GB, free: 13.9 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/1.186, allocations: 189.7 kB / 1.396 GB, free: 13.73 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/1.186, allocations: 57.5 kB / 1.396 GB, free: 13.68 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-05/1.186, allocations: 44.33 kB / 1.396 GB, free: 13.65 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.187, allocations: 342.5 kB / 1.396 GB, free: 13.31 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/1.187, allocations: 62.56 kB / 1.396 GB, free: 13.28 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/1.187, allocations: 197.5 kB / 1.397 GB, free: 13.07 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/1.187, allocations: 235 kB / 1.397 GB, free: 12.86 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.187, allocations: 1.125 kB / 1.397 GB, free: 12.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005082/1.188, allocations: 256.4 kB / 1.397 GB, free: 12.72 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.188, allocations: 11.14 kB / 1.397 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.188, allocations: 3.562 kB / 1.397 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.188, allocations: 5.156 kB / 1.397 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/1.188, allocations: 52.36 kB / 1.397 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/1.188, allocations: 8.203 kB / 1.397 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/1.188, allocations: 34.17 kB / 1.397 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/1.188, allocations: 10.56 kB / 1.397 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000266/1.189, allocations: 169.3 kB / 1.397 GB, free: 12.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002649/1.189, allocations: 190.7 kB / 1.398 GB, free: 12.35 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003712/1.189, allocations: 229.7 kB / 1.398 GB, free: 12.15 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/1.189, allocations: 1.281 kB / 1.398 GB, free: 12.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004696/1.19, allocations: 260.2 kB / 1.398 GB, free: 12 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.19, allocations: 10.72 kB / 1.398 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/1.19, allocations: 3.562 kB / 1.398 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/1.19, allocations: 5.125 kB / 1.398 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/1.19, allocations: 51.41 kB / 1.398 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/1.19, allocations: 4.844 kB / 1.398 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/1.19, allocations: 29.25 kB / 1.398 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/1.19, allocations: 14.12 kB / 1.398 GB, free: 11.96 MB / 1.076 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.0001341/1.19, allocations: 198.7 kB / 1.398 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/1.19, allocations: 32.5 kB / 1.398 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/1.191, allocations: 178.5 kB / 1.398 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.191, allocations: 1.25 kB / 1.398 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.191, allocations: 0 / 1.398 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.191, allocations: 3.062 kB / 1.398 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/1.192, allocations: 0.6009 MB / 1.399 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.192, allocations: 2.625 kB / 1.399 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/1.192, allocations: 26.16 kB / 1.399 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/1.192, allocations: 3.25 kB / 1.399 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/1.192, allocations: 6.188 kB / 1.399 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.192, allocations: 3 kB / 1.399 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.192, allocations: 6.5 kB / 1.399 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/1.192, allocations: 311.1 kB / 1.399 GB, free: 10.81 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/1.193, allocations: 118 kB / 1.4 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/1.193, allocations: 2.656 kB / 1.4 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/1.193, allocations: 13.83 kB / 1.4 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/1.193, allocations: 9.469 kB / 1.4 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/1.193, allocations: 13.06 kB / 1.4 GB, free: 10.67 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002481/1.193, allocations: 230 kB / 1.4 GB, free: 10.52 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.193, allocations: 0 / 1.4 GB, free: 10.52 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006377/1.194, allocations: 137.8 kB / 1.4 GB, free: 10.49 MB / 1.076 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.0004263/1.194, allocations: 161.9 kB / 1.4 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006049/1.195, allocations: 241.9 kB / 1.4 GB, free: 10.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.195, allocations: 2.25 kB / 1.4 GB, free: 10.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/1.195, allocations: 62.33 kB / 1.4 GB, free: 10.25 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007503/1.196, allocations: 125.8 kB / 1.4 GB, free: 10.19 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/1.197, allocations: 0.5318 MB / 1.401 GB, free: 9.777 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/1.197, allocations: 0.7767 MB / 1.402 GB, free: 9.035 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/1.197, allocations: 34.83 kB / 1.402 GB, free: 9.02 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/1.197, allocations: 0 / 1.402 GB, free: 9.02 MB / 1.076 GB Notification: Performance of Templates: time 0.00772/1.205, allocations: 4.496 MB / 1.406 GB, free: 6.699 MB / 1.076 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: 12.248404850950465]