Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_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.00806/0.00806, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001952/0.001952, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.541/1.541, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 64.62 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2902, allocations: 162.2 MB / 1.241 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1958/0.486, allocations: 169.5 MB / 1.407 GB, free: 15.16 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009408/0.4955, allocations: 7.322 MB / 1.414 GB, free: 7.816 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.4959, allocations: 11.94 kB / 1.414 GB, free: 7.805 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007303/0.4967, allocations: 210.5 kB / 1.414 GB, free: 7.598 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.4983, allocations: 0.5716 MB / 1.415 GB, free: 7.023 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.4995, allocations: 438.9 kB / 1.415 GB, free: 6.598 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.5005, allocations: 0.7012 MB / 1.416 GB, free: 5.895 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000466/0.501, allocations: 271.1 kB / 1.416 GB, free: 5.633 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.5021, allocations: 0.5097 MB / 1.417 GB, free: 5.121 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.5024, allocations: 215 kB / 1.417 GB, free: 4.91 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.5024, allocations: 20 kB / 1.417 GB, free: 4.891 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.5036, allocations: 0.6977 MB / 1.418 GB, free: 4.191 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.5038, allocations: 107.7 kB / 1.418 GB, free: 4.086 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.5039, allocations: 155.2 kB / 1.418 GB, free: 3.934 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0008892/0.5048, allocations: 0.576 MB / 1.418 GB, free: 3.355 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5049, allocations: 0 / 1.418 GB, free: 3.355 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5049, allocations: 0 / 1.418 GB, free: 3.355 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.5049, allocations: 0 / 1.418 GB, free: 3.355 MB / 1.139 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.0009551/0.5058, allocations: 0.6653 MB / 1.419 GB, free: 2.641 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.5059, allocations: 8.031 kB / 1.419 GB, free: 2.633 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.378e-05/0.506, allocations: 62.48 kB / 1.419 GB, free: 2.562 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/0.5063, allocations: 67.72 kB / 1.419 GB, free: 2.496 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.5068, allocations: 314.4 kB / 1.42 GB, free: 2.152 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.5069, allocations: 20.44 kB / 1.42 GB, free: 2.133 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.5069, allocations: 20 kB / 1.42 GB, free: 2.113 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/0.5074, allocations: 308.5 kB / 1.42 GB, free: 1.77 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.5075, allocations: 3.938 kB / 1.42 GB, free: 1.766 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.5075, allocations: 12 kB / 1.42 GB, free: 1.754 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.5075, allocations: 4 kB / 1.42 GB, free: 1.75 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.5079, allocations: 175.8 kB / 1.42 GB, free: 1.578 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.5097, allocations: 1.698 MB / 1.422 GB, free: 15.76 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.51, allocations: 94.53 kB / 1.422 GB, free: 15.66 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.5102, allocations: 88.67 kB / 1.422 GB, free: 15.57 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.5104, allocations: 190.2 kB / 1.422 GB, free: 15.35 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.5105, allocations: 30.56 kB / 1.422 GB, free: 15.31 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.5105, allocations: 0 / 1.422 GB, free: 15.31 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0007118/0.5112, allocations: 225.3 kB / 1.422 GB, free: 15.08 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.5113, allocations: 55.41 kB / 1.422 GB, free: 15.02 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.5116, allocations: 320.5 kB / 1.423 GB, free: 14.68 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.5116, allocations: 25.7 kB / 1.423 GB, free: 14.65 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.5118, allocations: 200.1 kB / 1.423 GB, free: 14.45 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.5119, allocations: 39.64 kB / 1.423 GB, free: 14.41 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.482e-05/0.5119, allocations: 53.7 kB / 1.423 GB, free: 14.36 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.5121, allocations: 342.8 kB / 1.423 GB, free: 14.01 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.5123, allocations: 56.81 kB / 1.423 GB, free: 13.95 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.5126, allocations: 206.5 kB / 1.424 GB, free: 13.69 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.513, allocations: 229.5 kB / 1.424 GB, free: 13.42 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.513, allocations: 0 / 1.424 GB, free: 13.42 MB / 1.154 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005028/0.5135, allocations: 257 kB / 1.424 GB, free: 13.16 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.5135, allocations: 8 kB / 1.424 GB, free: 13.15 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.5136, allocations: 4 kB / 1.424 GB, free: 13.15 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.5136, allocations: 4 kB / 1.424 GB, free: 13.14 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.5138, allocations: 44.33 kB / 1.424 GB, free: 13.1 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.5138, allocations: 15.92 kB / 1.424 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.514, allocations: 39.77 kB / 1.424 GB, free: 13.05 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.5141, allocations: 8 kB / 1.424 GB, free: 13.04 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002441/0.5143, allocations: 172.1 kB / 1.424 GB, free: 12.87 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002702/0.5146, allocations: 191.4 kB / 1.424 GB, free: 12.62 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003815/0.515, allocations: 233.5 kB / 1.425 GB, free: 12.34 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.515, allocations: 0 / 1.425 GB, free: 12.34 MB / 1.154 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005046/0.5155, allocations: 257 kB / 1.425 GB, free: 12.09 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.5155, allocations: 5.875 kB / 1.425 GB, free: 12.08 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5155, allocations: 4 kB / 1.425 GB, free: 12.08 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.5156, allocations: 8 kB / 1.425 GB, free: 12.07 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.5157, allocations: 48.31 kB / 1.425 GB, free: 12.02 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.5158, allocations: 15.94 kB / 1.425 GB, free: 12.01 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.516, allocations: 27.88 kB / 1.425 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.516, allocations: 11.94 kB / 1.425 GB, free: 11.97 MB / 1.154 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.0001317/0.5162, allocations: 204.2 kB / 1.425 GB, free: 11.76 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.5162, allocations: 31.75 kB / 1.425 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.5167, allocations: 172.5 kB / 1.425 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5167, allocations: 4 kB / 1.425 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.5167, allocations: 4 kB / 1.425 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5167, allocations: 0 / 1.425 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.5177, allocations: 0.6132 MB / 1.426 GB, free: 10.86 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.5177, allocations: 0 / 1.426 GB, free: 10.86 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.5179, allocations: 31.97 kB / 1.426 GB, free: 10.82 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.5179, allocations: 4 kB / 1.426 GB, free: 10.82 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.5179, allocations: 0 / 1.426 GB, free: 10.82 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5179, allocations: 4 kB / 1.426 GB, free: 10.82 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/0.5179, allocations: 11.88 kB / 1.426 GB, free: 10.8 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.5183, allocations: 297.5 kB / 1.426 GB, free: 10.48 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.5185, allocations: 120.9 kB / 1.427 GB, free: 10.34 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.5185, allocations: 4 kB / 1.427 GB, free: 10.34 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.5187, allocations: 11.98 kB / 1.427 GB, free: 10.32 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.5188, allocations: 15.88 kB / 1.427 GB, free: 10.31 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.5188, allocations: 7.984 kB / 1.427 GB, free: 10.3 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002403/0.519, allocations: 227.1 kB / 1.427 GB, free: 10.08 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.21e-07/0.519, allocations: 0 / 1.427 GB, free: 10.08 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005675/0.5196, allocations: 135.8 kB / 1.427 GB, free: 9.949 MB / 1.154 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.001042/0.5207, allocations: 0.9031 MB / 1.428 GB, free: 9.004 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006294/0.5213, allocations: 253 kB / 1.428 GB, free: 8.758 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5213, allocations: 4 kB / 1.428 GB, free: 8.754 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.5215, allocations: 60.34 kB / 1.428 GB, free: 8.695 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007613/0.5223, allocations: 123.8 kB / 1.428 GB, free: 8.582 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.5259, allocations: 2.799 MB / 1.431 GB, free: 5.566 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.5264, allocations: 0.7756 MB / 1.432 GB, free: 4.762 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002737/0.5266, allocations: 86.88 kB / 1.432 GB, free: 4.676 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.5268, allocations: 91.41 kB / 1.432 GB, free: 4.586 MB / 1.154 GB Notification: Performance of SimCode: time 2.144e-06/0.5268, allocations: 0 / 1.432 GB, free: 4.586 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.5587, allocations: 7.914 MB / 1.44 GB, free: 12.83 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.813, allocations: 8.469 kB / 1.44 GB, free: 12.82 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches