Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005183/0.005183, allocations: 99.58 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 192 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.89 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9313/0.9333, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2092/1.143, allocations: 169.5 MB / 1.253 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008979/1.152, allocations: 7.307 MB / 1.26 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006166/1.152, allocations: 11.88 kB / 1.26 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008712/1.153, allocations: 218.6 kB / 1.26 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00211/1.155, allocations: 0.5912 MB / 1.261 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/1.157, allocations: 434.4 kB / 1.261 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00107/1.158, allocations: 0.7089 MB / 1.262 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004888/1.158, allocations: 271.1 kB / 1.262 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008338/1.159, allocations: 386.5 kB / 1.263 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003574/1.16, allocations: 223 kB / 1.263 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/1.16, allocations: 20 kB / 1.263 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/1.161, allocations: 0.7016 MB / 1.264 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/1.161, allocations: 119.6 kB / 1.264 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002008/1.161, allocations: 151.2 kB / 1.264 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009519/1.162, allocations: 0.572 MB / 1.264 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.162, allocations: 0 / 1.264 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.432e-06/1.162, allocations: 4 kB / 1.264 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.374e-05/1.162, allocations: 0 / 1.264 GB, free: 8.578 MB / 0.9981 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.0009971/1.163, allocations: 0.6537 MB / 1.265 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.163, allocations: 8.031 kB / 1.265 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.37e-05/1.163, allocations: 58.48 kB / 1.265 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003703/1.164, allocations: 67.72 kB / 1.265 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/1.164, allocations: 326.3 kB / 1.265 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/1.164, allocations: 16.44 kB / 1.265 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/1.164, allocations: 24 kB / 1.265 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/1.165, allocations: 300.6 kB / 1.266 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/1.165, allocations: 3.938 kB / 1.266 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/1.165, allocations: 8 kB / 1.266 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/1.165, allocations: 12 kB / 1.266 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003802/1.165, allocations: 175.7 kB / 1.266 GB, free: 6.801 MB / 0.9981 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.00166/1.167, allocations: 1.691 MB / 1.268 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/1.167, allocations: 82.61 kB / 1.268 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/1.167, allocations: 84.75 kB / 1.268 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002894/1.168, allocations: 186.2 kB / 1.268 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/1.168, allocations: 38.48 kB / 1.268 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/1.168, allocations: 7.875 kB / 1.268 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0007916/1.169, allocations: 221.4 kB / 1.268 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/1.169, allocations: 55.41 kB / 1.268 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/1.169, allocations: 316.5 kB / 1.269 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/1.169, allocations: 33.7 kB / 1.269 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/1.169, allocations: 200.1 kB / 1.269 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/1.169, allocations: 43.69 kB / 1.269 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/1.169, allocations: 49.66 kB / 1.269 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.17, allocations: 338.8 kB / 1.269 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/1.17, allocations: 68.81 kB / 1.269 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/1.17, allocations: 193.7 kB / 1.269 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/1.17, allocations: 237.5 kB / 1.27 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.171, allocations: 7.938 kB / 1.27 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005233/1.171, allocations: 261.2 kB / 1.27 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.171, allocations: 7.984 kB / 1.27 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.171, allocations: 4 kB / 1.27 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/1.171, allocations: 4 kB / 1.27 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/1.171, allocations: 47.92 kB / 1.27 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/1.171, allocations: 11.98 kB / 1.27 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/1.172, allocations: 31.77 kB / 1.27 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/1.172, allocations: 16 kB / 1.27 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002456/1.172, allocations: 172.2 kB / 1.27 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002458/1.172, allocations: 191.3 kB / 1.27 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003673/1.173, allocations: 229.5 kB / 1.271 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.245e-06/1.173, allocations: 0 / 1.271 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005591/1.173, allocations: 265.5 kB / 1.271 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.173, allocations: 8 kB / 1.271 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.86e-06/1.173, allocations: 4 kB / 1.271 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/1.173, allocations: 4 kB / 1.271 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/1.173, allocations: 47.91 kB / 1.271 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.173, allocations: 4.156 kB / 1.271 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/1.174, allocations: 23.94 kB / 1.271 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/1.174, allocations: 16 kB / 1.271 GB, free: 1.207 MB / 0.9981 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.0001574/1.174, allocations: 200.8 kB / 1.271 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/1.174, allocations: 35.73 kB / 1.271 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/1.174, allocations: 172.3 kB / 1.271 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.174, allocations: 0 / 1.271 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.174, allocations: 0 / 1.271 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.174, allocations: 4 kB / 1.271 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/1.175, allocations: 0.6055 MB / 1.272 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.175, allocations: 4.219 kB / 1.272 GB, free: 108 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/1.176, allocations: 35.91 kB / 1.272 GB, free: 72 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.176, allocations: 3.938 kB / 1.272 GB, free: 68 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/1.176, allocations: 4 kB / 1.272 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/1.176, allocations: 4 kB / 1.272 GB, free: 60 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/1.176, allocations: 3.938 kB / 1.272 GB, free: 56 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/1.176, allocations: 305.2 kB / 1.272 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/1.176, allocations: 116.9 kB / 1.272 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/1.176, allocations: 4 kB / 1.272 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/1.176, allocations: 15.98 kB / 1.272 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/1.176, allocations: 7.938 kB / 1.272 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/1.176, allocations: 12 kB / 1.272 GB, free: 15.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002177/1.177, allocations: 231 kB / 1.273 GB, free: 15.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.177, allocations: 0 / 1.273 GB, free: 15.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005865/1.177, allocations: 135.8 kB / 1.273 GB, free: 15.19 MB / 1.014 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.0009431/1.178, allocations: 0.9055 MB / 1.274 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005921/1.179, allocations: 256.6 kB / 1.274 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.179, allocations: 0 / 1.274 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/1.179, allocations: 59.91 kB / 1.274 GB, free: 13.94 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007557/1.18, allocations: 131.2 kB / 1.274 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/1.183, allocations: 2.793 MB / 1.277 GB, free: 10.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/1.183, allocations: 0.7795 MB / 1.278 GB, free: 9.992 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002588/1.184, allocations: 83.55 kB / 1.278 GB, free: 9.914 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/1.184, allocations: 87.41 kB / 1.278 GB, free: 9.832 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/1.184, allocations: 0 / 1.278 GB, free: 9.832 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/1.211, allocations: 7.905 MB / 1.285 GB, free: 2.074 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/9.037, allocations: 22.47 kB / 1.286 GB, free: 2.059 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches