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.001675/0.001675, allocations: 112.7 kB / 18.94 MB, free: 2.953 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.002341/0.002341, allocations: 187.1 kB / 22.23 MB, free: 5.137 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.533/1.533, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 443.5 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002035/0.002035, allocations: 59.89 kB / 1.061 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9993/1.001, allocations: 160.8 MB / 1.218 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2306/1.232, allocations: 170.2 MB / 1.385 GB, free: 12.4 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01175/1.244, allocations: 7.421 MB / 1.392 GB, free: 4.953 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007151/1.244, allocations: 15.88 kB / 1.392 GB, free: 4.938 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/1.245, allocations: 218.5 kB / 1.392 GB, free: 4.723 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/1.248, allocations: 0.6029 MB / 1.393 GB, free: 4.117 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/1.249, allocations: 459 kB / 1.393 GB, free: 3.672 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001424/1.251, allocations: 0.7207 MB / 1.394 GB, free: 2.949 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005386/1.251, allocations: 215 kB / 1.394 GB, free: 2.75 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/1.252, allocations: 394.5 kB / 1.394 GB, free: 2.363 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000532/1.253, allocations: 231 kB / 1.395 GB, free: 2.137 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 7.08e-05/1.253, allocations: 16 kB / 1.395 GB, free: 2.121 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/1.255, allocations: 0.7366 MB / 1.395 GB, free: 1.383 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002162/1.255, allocations: 115.6 kB / 1.396 GB, free: 1.27 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003005/1.255, allocations: 159.2 kB / 1.396 GB, free: 1.113 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/1.257, allocations: 0.5758 MB / 1.396 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.257, allocations: 0 / 1.396 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.014e-06/1.257, allocations: 0 / 1.396 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.656e-05/1.257, allocations: 0 / 1.396 GB, free: 0.5391 MB / 1.092 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.001323/1.258, allocations: 0.6536 MB / 1.397 GB, free: 15.84 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.258, allocations: 12.03 kB / 1.397 GB, free: 15.82 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004528/1.258, allocations: 71.66 kB / 1.397 GB, free: 15.75 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007167/1.259, allocations: 313.9 kB / 1.397 GB, free: 15.41 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/1.259, allocations: 20.44 kB / 1.397 GB, free: 15.39 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/1.259, allocations: 20 kB / 1.397 GB, free: 15.37 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/1.26, allocations: 304.6 kB / 1.398 GB, free: 15.04 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/1.26, allocations: 0 / 1.398 GB, free: 15.04 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/1.26, allocations: 11.94 kB / 1.398 GB, free: 15.02 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/1.26, allocations: 4 kB / 1.398 GB, free: 15.02 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/1.26, allocations: 179.7 kB / 1.398 GB, free: 14.84 MB / 1.107 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.002126/1.262, allocations: 1.702 MB / 1.399 GB, free: 13.02 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/1.263, allocations: 86.56 kB / 1.4 GB, free: 12.93 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/1.263, allocations: 72.86 kB / 1.4 GB, free: 12.86 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003282/1.263, allocations: 190.1 kB / 1.4 GB, free: 12.63 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/1.263, allocations: 38.5 kB / 1.4 GB, free: 12.59 MB / 1.107 GB Notification: Performance of pre-optimization done (n=11): time 1.783e-06/1.263, allocations: 0 / 1.4 GB, free: 12.59 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.0007833/1.264, allocations: 229.3 kB / 1.4 GB, free: 12.36 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/1.264, allocations: 55.41 kB / 1.4 GB, free: 12.29 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/1.264, allocations: 320.5 kB / 1.4 GB, free: 11.96 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/1.265, allocations: 25.7 kB / 1.4 GB, free: 11.93 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/1.265, allocations: 196.1 kB / 1.401 GB, free: 11.74 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/1.265, allocations: 51.58 kB / 1.401 GB, free: 11.69 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.541e-05/1.265, allocations: 41.72 kB / 1.401 GB, free: 11.64 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.265, allocations: 342.8 kB / 1.401 GB, free: 11.3 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/1.265, allocations: 60.81 kB / 1.401 GB, free: 11.23 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/1.265, allocations: 191.7 kB / 1.401 GB, free: 10.99 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/1.266, allocations: 233.5 kB / 1.401 GB, free: 10.71 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/1.266, allocations: 3.938 kB / 1.401 GB, free: 10.71 MB / 1.107 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005337/1.266, allocations: 264.9 kB / 1.402 GB, free: 10.44 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.266, allocations: 8 kB / 1.402 GB, free: 10.43 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.266, allocations: 4 kB / 1.402 GB, free: 10.43 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/1.266, allocations: 4.406 kB / 1.402 GB, free: 10.43 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/1.267, allocations: 59.91 kB / 1.402 GB, free: 10.37 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.267, allocations: 4 kB / 1.402 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/1.267, allocations: 35.83 kB / 1.402 GB, free: 10.33 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/1.267, allocations: 8 kB / 1.402 GB, free: 10.32 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002578/1.267, allocations: 168.1 kB / 1.402 GB, free: 10.15 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002775/1.267, allocations: 193.1 kB / 1.402 GB, free: 9.902 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003846/1.268, allocations: 237.5 kB / 1.402 GB, free: 9.621 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/1.268, allocations: 0 / 1.402 GB, free: 9.621 MB / 1.107 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005905/1.268, allocations: 249.1 kB / 1.403 GB, free: 9.371 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.268, allocations: 7.938 kB / 1.403 GB, free: 9.363 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.268, allocations: 4 kB / 1.403 GB, free: 9.359 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/1.269, allocations: 12.34 kB / 1.403 GB, free: 9.348 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/1.269, allocations: 43.97 kB / 1.403 GB, free: 9.305 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.269, allocations: 11.94 kB / 1.403 GB, free: 9.293 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/1.269, allocations: 31.86 kB / 1.403 GB, free: 9.262 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/1.269, allocations: 12 kB / 1.403 GB, free: 9.25 MB / 1.107 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.0001546/1.269, allocations: 204.1 kB / 1.403 GB, free: 9.043 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/1.269, allocations: 31.75 kB / 1.403 GB, free: 9.012 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/1.27, allocations: 172.4 kB / 1.403 GB, free: 8.836 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/1.27, allocations: 4 kB / 1.403 GB, free: 8.832 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.27, allocations: 0 / 1.403 GB, free: 8.832 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.27, allocations: 288 / 1.403 GB, free: 8.832 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/1.271, allocations: 0.6132 MB / 1.404 GB, free: 8.141 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/1.271, allocations: 0 / 1.404 GB, free: 8.141 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/1.271, allocations: 23.98 kB / 1.404 GB, free: 8.117 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/1.271, allocations: 4 kB / 1.404 GB, free: 8.113 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/1.271, allocations: 3.938 kB / 1.404 GB, free: 8.109 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/1.271, allocations: 7.938 kB / 1.404 GB, free: 8.102 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/1.271, allocations: 12.31 kB / 1.404 GB, free: 8.09 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/1.271, allocations: 305.2 kB / 1.404 GB, free: 7.754 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/1.271, allocations: 116.8 kB / 1.404 GB, free: 7.621 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/1.271, allocations: 8 kB / 1.404 GB, free: 7.613 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/1.272, allocations: 7.984 kB / 1.404 GB, free: 7.605 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/1.272, allocations: 15.92 kB / 1.404 GB, free: 7.59 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/1.272, allocations: 12 kB / 1.404 GB, free: 7.578 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002555/1.272, allocations: 227 kB / 1.404 GB, free: 7.355 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/1.272, allocations: 0 / 1.404 GB, free: 7.355 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006287/1.273, allocations: 127.8 kB / 1.405 GB, free: 7.23 MB / 1.107 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.0004759/1.273, allocations: 172.4 kB / 1.405 GB, free: 7.062 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0006386/1.274, allocations: 236 kB / 1.405 GB, free: 6.832 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.274, allocations: 0 / 1.405 GB, free: 6.832 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/1.274, allocations: 65.03 kB / 1.405 GB, free: 6.77 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007621/1.275, allocations: 129 kB / 1.405 GB, free: 6.641 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/1.276, allocations: 0.4986 MB / 1.406 GB, free: 6.098 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/1.276, allocations: 0.7834 MB / 1.406 GB, free: 5.289 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002711/1.276, allocations: 86.88 kB / 1.407 GB, free: 5.203 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/1.277, allocations: 23.44 kB / 1.407 GB, free: 5.184 MB / 1.107 GB Notification: Performance of SimCode: time 5.41e-07/1.277, allocations: 0 / 1.407 GB, free: 5.184 MB / 1.107 GB Notification: Performance of Templates: time 0.01226/1.289, allocations: 5.048 MB / 1.411 GB, free: 216 kB / 1.107 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/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.59803706407547]