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.001285/0.001285, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.433/2.433, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 63.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6595/0.661, allocations: 140.4 MB / 0.9497 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1674/0.8285, allocations: 169.4 MB / 1.115 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00967/0.8382, allocations: 7.326 MB / 1.122 GB, free: 432 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000822/0.8391, allocations: 15.88 kB / 1.122 GB, free: 416 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.8402, allocations: 214.6 kB / 1.123 GB, free: 200 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.8421, allocations: 0.5707 MB / 1.123 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.8435, allocations: 437 kB / 1.124 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001246/0.8448, allocations: 0.7012 MB / 1.124 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004991/0.8453, allocations: 271.1 kB / 1.124 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009354/0.8462, allocations: 386.5 kB / 1.125 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.8467, allocations: 211 kB / 1.125 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.8467, allocations: 20 kB / 1.125 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.8481, allocations: 0.7015 MB / 1.126 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.8483, allocations: 103.7 kB / 1.126 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.8485, allocations: 151.2 kB / 1.126 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.8496, allocations: 0.5686 MB / 1.127 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8497, allocations: 0 / 1.127 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8497, allocations: 0 / 1.127 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.8497, allocations: 0 / 1.127 GB, free: 12.1 MB / 0.8887 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.001027/0.8507, allocations: 0.6388 MB / 1.127 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.8508, allocations: 12.03 kB / 1.127 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/0.8508, allocations: 58.47 kB / 1.127 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.8512, allocations: 63.59 kB / 1.127 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.8516, allocations: 298.2 kB / 1.128 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.8517, allocations: 20.44 kB / 1.128 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.8517, allocations: 27.94 kB / 1.128 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.8522, allocations: 300.6 kB / 1.128 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.8522, allocations: 3.938 kB / 1.128 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.8523, allocations: 8 kB / 1.128 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.8523, allocations: 4 kB / 1.128 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.8527, allocations: 183.8 kB / 1.128 GB, free: 10.36 MB / 0.8887 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.001676/0.8544, allocations: 1.702 MB / 1.13 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.8547, allocations: 90.56 kB / 1.13 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.8548, allocations: 84.78 kB / 1.13 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002797/0.8551, allocations: 190.2 kB / 1.13 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.8552, allocations: 34.56 kB / 1.13 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.8552, allocations: 0 / 1.13 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0006906/0.8559, allocations: 229.3 kB / 1.13 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.8559, allocations: 55.41 kB / 1.13 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.8562, allocations: 316.5 kB / 1.131 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.8562, allocations: 29.7 kB / 1.131 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.8564, allocations: 203.7 kB / 1.131 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.8564, allocations: 35.55 kB / 1.131 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-05/0.8565, allocations: 53.61 kB / 1.131 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.8566, allocations: 338.8 kB / 1.131 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.8568, allocations: 60.67 kB / 1.131 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.8571, allocations: 197.1 kB / 1.132 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.8574, allocations: 233.5 kB / 1.132 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.8574, allocations: 0 / 1.132 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004862/0.8579, allocations: 260.8 kB / 1.132 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.858, allocations: 8 kB / 1.132 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/0.858, allocations: 4 kB / 1.132 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.858, allocations: 4 kB / 1.132 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.8582, allocations: 56.31 kB / 1.132 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.8582, allocations: 4 kB / 1.132 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.8584, allocations: 31.91 kB / 1.132 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.8585, allocations: 12 kB / 1.132 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000227/0.8587, allocations: 172.1 kB / 1.132 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000227/0.859, allocations: 194.7 kB / 1.133 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003429/0.8593, allocations: 233.5 kB / 1.133 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.8593, allocations: 0 / 1.133 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004567/0.8598, allocations: 252.8 kB / 1.133 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.8598, allocations: 7.938 kB / 1.133 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.8598, allocations: 4 kB / 1.133 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/0.8598, allocations: 15.92 kB / 1.133 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.86, allocations: 36.39 kB / 1.133 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.86, allocations: 15.94 kB / 1.133 GB, free: 4.801 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.8603, allocations: 35.81 kB / 1.133 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.8603, allocations: 12 kB / 1.133 GB, free: 4.754 MB / 0.8887 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.0001103/0.8604, allocations: 192.2 kB / 1.133 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.8605, allocations: 31.56 kB / 1.133 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.8609, allocations: 168.5 kB / 1.134 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.8609, allocations: 4 kB / 1.134 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8609, allocations: 0 / 1.134 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8609, allocations: 0 / 1.134 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008934/0.8618, allocations: 0.6171 MB / 1.134 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.8618, allocations: 0 / 1.134 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.862, allocations: 23.98 kB / 1.134 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.862, allocations: 7.938 kB / 1.134 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.862, allocations: 3.938 kB / 1.134 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.862, allocations: 7.938 kB / 1.134 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.862, allocations: 8.156 kB / 1.134 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.8624, allocations: 305.2 kB / 1.134 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.8625, allocations: 108.8 kB / 1.135 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.8626, allocations: 7.984 kB / 1.135 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.8628, allocations: 15.98 kB / 1.135 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.8628, allocations: 11.92 kB / 1.135 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.8628, allocations: 4 kB / 1.135 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000212/0.8631, allocations: 231 kB / 1.135 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8631, allocations: 0 / 1.135 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005814/0.8637, allocations: 139.8 kB / 1.135 GB, free: 2.75 MB / 0.8887 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.0008862/0.8646, allocations: 0.8839 MB / 1.136 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005839/0.8651, allocations: 253 kB / 1.136 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8652, allocations: 0 / 1.136 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.8653, allocations: 68.27 kB / 1.136 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008274/0.8662, allocations: 131.3 kB / 1.136 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.8694, allocations: 2.813 MB / 1.139 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.8698, allocations: 0.7756 MB / 1.14 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002895/0.8701, allocations: 78.91 kB / 1.14 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.8702, allocations: 91.41 kB / 1.14 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of SimCode: time 3.81e-07/0.8702, allocations: 0 / 1.14 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.8973, allocations: 7.829 MB / 1.148 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/8.511, allocations: 10.3 kB / 1.148 GB, free: 5.688 MB / 0.9044 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