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.001572/0.001572, allocations: 113 kB / 17.6 MB, free: 4.684 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.001726/0.001726, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.506/1.506, allocations: 225.6 MB / 249.4 MB, free: 3.25 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.68/2.68, allocations: 443.4 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 176] 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.002159/0.002159, allocations: 75.88 kB / 1.059 GB, free: 360 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4125, allocations: 160.7 MB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 1.096/1.509, allocations: 170.2 MB / 1.382 GB, free: 8.289 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009706/1.519, allocations: 7.406 MB / 1.39 GB, free: 2.992 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006592/1.519, allocations: 11.97 kB / 1.39 GB, free: 2.988 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007915/1.52, allocations: 215.3 kB / 1.39 GB, free: 2.809 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001815/1.522, allocations: 0.5977 MB / 1.39 GB, free: 2.355 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001515/1.523, allocations: 438.2 kB / 1.391 GB, free: 2.043 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001247/1.525, allocations: 0.7058 MB / 1.392 GB, free: 1.645 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005266/1.525, allocations: 207.2 kB / 1.392 GB, free: 1.512 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/1.526, allocations: 392.7 kB / 1.392 GB, free: 1.277 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005286/1.527, allocations: 235.9 kB / 1.392 GB, free: 1.137 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.134e-05/1.527, allocations: 19.91 kB / 1.392 GB, free: 1.137 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/1.528, allocations: 0.7303 MB / 1.393 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002191/1.529, allocations: 110.7 kB / 1.393 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000333/1.529, allocations: 154.8 kB / 1.393 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/1.53, allocations: 0.5722 MB / 1.394 GB, free: 204 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.53, allocations: 1.188 kB / 1.394 GB, free: 204 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/1.53, allocations: 4 kB / 1.394 GB, free: 200 kB / 1.061 GB Notification: Performance of Transformations before backend: time 1.854e-05/1.53, allocations: 0 / 1.394 GB, free: 200 kB / 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.001347/1.532, allocations: 0.6542 MB / 1.394 GB, free: 15.6 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.532, allocations: 9.312 kB / 1.395 GB, free: 15.6 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004565/1.532, allocations: 71.72 kB / 1.395 GB, free: 15.56 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007235/1.533, allocations: 317.7 kB / 1.395 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/1.533, allocations: 18.5 kB / 1.395 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/1.533, allocations: 19.41 kB / 1.395 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/1.533, allocations: 304.5 kB / 1.395 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/1.534, allocations: 5 kB / 1.395 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/1.534, allocations: 14.25 kB / 1.395 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/1.534, allocations: 7.219 kB / 1.395 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/1.534, allocations: 176 kB / 1.395 GB, free: 14.92 MB / 1.076 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.001979/1.536, allocations: 1.703 MB / 1.397 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/1.536, allocations: 85.39 kB / 1.397 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/1.536, allocations: 71.19 kB / 1.397 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003526/1.537, allocations: 191.9 kB / 1.397 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/1.537, allocations: 35.72 kB / 1.397 GB, free: 12.97 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/1.537, allocations: 1.344 kB / 1.397 GB, free: 12.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0008226/1.538, allocations: 222.2 kB / 1.398 GB, free: 12.85 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/1.538, allocations: 56.72 kB / 1.398 GB, free: 12.79 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/1.538, allocations: 325.4 kB / 1.398 GB, free: 12.57 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/1.538, allocations: 31.95 kB / 1.398 GB, free: 12.53 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/1.538, allocations: 193.9 kB / 1.398 GB, free: 12.36 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/1.538, allocations: 49.14 kB / 1.398 GB, free: 12.31 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.995e-05/1.538, allocations: 45.3 kB / 1.398 GB, free: 12.28 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000179/1.539, allocations: 337.8 kB / 1.399 GB, free: 11.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/1.539, allocations: 71.8 kB / 1.399 GB, free: 11.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/1.539, allocations: 192.7 kB / 1.399 GB, free: 11.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/1.54, allocations: 234.6 kB / 1.399 GB, free: 11.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.54, allocations: 1.156 kB / 1.399 GB, free: 11.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005306/1.54, allocations: 257.1 kB / 1.399 GB, free: 11.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.54, allocations: 7.094 kB / 1.399 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.54, allocations: 7.078 kB / 1.399 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/1.54, allocations: 5.656 kB / 1.399 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/1.54, allocations: 47.45 kB / 1.399 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/1.54, allocations: 12.14 kB / 1.399 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/1.541, allocations: 34.89 kB / 1.399 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/1.541, allocations: 11.31 kB / 1.399 GB, free: 11.31 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002634/1.541, allocations: 172.8 kB / 1.4 GB, free: 11.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003044/1.541, allocations: 185.8 kB / 1.4 GB, free: 10.99 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000419/1.542, allocations: 232.8 kB / 1.4 GB, free: 10.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/1.542, allocations: 1.062 kB / 1.4 GB, free: 10.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004935/1.542, allocations: 248.5 kB / 1.4 GB, free: 10.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/1.542, allocations: 14.88 kB / 1.4 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.542, allocations: 3.75 kB / 1.4 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/1.542, allocations: 8.719 kB / 1.4 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/1.542, allocations: 48.09 kB / 1.4 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.542, allocations: 9.75 kB / 1.4 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/1.543, allocations: 27.47 kB / 1.4 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/1.543, allocations: 18.75 kB / 1.4 GB, free: 10.6 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.0001273/1.543, allocations: 201.6 kB / 1.401 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/1.543, allocations: 33.78 kB / 1.401 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/1.543, allocations: 165.9 kB / 1.401 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.543, allocations: 1 kB / 1.401 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.543, allocations: 4.906 kB / 1.401 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.543, allocations: 0 / 1.401 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009823/1.544, allocations: 0.6002 MB / 1.401 GB, free: 9.738 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.544, allocations: 2.75 kB / 1.401 GB, free: 9.738 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/1.544, allocations: 34.5 kB / 1.401 GB, free: 9.723 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/1.544, allocations: 3.531 kB / 1.401 GB, free: 9.723 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/1.544, allocations: 2.25 kB / 1.401 GB, free: 9.723 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/1.544, allocations: 6.438 kB / 1.401 GB, free: 9.719 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.544, allocations: 2.344 kB / 1.401 GB, free: 9.719 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/1.545, allocations: 307.8 kB / 1.402 GB, free: 9.453 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/1.545, allocations: 117.8 kB / 1.402 GB, free: 9.332 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/1.545, allocations: 1.875 kB / 1.402 GB, free: 9.332 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/1.545, allocations: 18.14 kB / 1.402 GB, free: 9.32 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/1.545, allocations: 17.98 kB / 1.402 GB, free: 9.309 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/1.545, allocations: 8.406 kB / 1.402 GB, free: 9.305 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002803/1.546, allocations: 222.8 kB / 1.402 GB, free: 9.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.546, allocations: 0 / 1.402 GB, free: 9.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000676/1.546, allocations: 137.4 kB / 1.402 GB, free: 9.133 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.0004926/1.547, allocations: 164.7 kB / 1.402 GB, free: 9.02 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006087/1.547, allocations: 239 kB / 1.403 GB, free: 8.914 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.547, allocations: 384 / 1.403 GB, free: 8.914 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/1.547, allocations: 69.73 kB / 1.403 GB, free: 8.879 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007588/1.548, allocations: 131.4 kB / 1.403 GB, free: 8.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/1.549, allocations: 0.5108 MB / 1.403 GB, free: 8.441 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/1.55, allocations: 0.7779 MB / 1.404 GB, free: 7.699 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002882/1.55, allocations: 85.53 kB / 1.404 GB, free: 7.652 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/1.55, allocations: 24.28 kB / 1.404 GB, free: 7.645 MB / 1.076 GB Notification: Performance of SimCode: time 7.62e-07/1.55, allocations: 5.5 kB / 1.404 GB, free: 7.641 MB / 1.076 GB Notification: Performance of Templates: time 0.01035/1.56, allocations: 4.993 MB / 1.409 GB, free: 5.191 MB / 1.076 GB " [Timeout remaining time 298] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.96291343960911]