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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_10_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.001664/0.001664, 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.001992/0.001992, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.64/2.64, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6329/0.6344, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2959/0.9303, allocations: 169.5 MB / 1.183 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008814/0.9391, allocations: 7.318 MB / 1.19 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005372/0.9397, allocations: 15.88 kB / 1.19 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000728/0.9405, allocations: 210.6 kB / 1.19 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.9421, allocations: 0.5716 MB / 1.191 GB, free: 252 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.9434, allocations: 431.9 kB / 1.191 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.9445, allocations: 0.7089 MB / 1.192 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004703/0.945, allocations: 267.1 kB / 1.192 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007785/0.9458, allocations: 374.5 kB / 1.193 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.9461, allocations: 223 kB / 1.193 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.002e-05/0.9462, allocations: 20 kB / 1.193 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.9474, allocations: 0.6977 MB / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.9475, allocations: 107.6 kB / 1.194 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.9477, allocations: 155.2 kB / 1.194 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009011/0.9486, allocations: 0.561 MB / 1.194 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.9486, allocations: 4 kB / 1.194 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9487, allocations: 0 / 1.194 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.9487, allocations: 0 / 1.194 GB, free: 12.72 MB / 0.9512 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.0009729/0.9496, allocations: 0.6426 MB / 1.195 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.9497, allocations: 8.031 kB / 1.195 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.209e-05/0.9498, allocations: 58.48 kB / 1.195 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003836/0.9502, allocations: 63.58 kB / 1.195 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.9506, allocations: 306.2 kB / 1.195 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.9506, allocations: 20.44 kB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.487e-05/0.9506, allocations: 24 kB / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/0.9511, allocations: 304.5 kB / 1.196 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.9512, allocations: 3.938 kB / 1.196 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.9512, allocations: 8 kB / 1.196 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.9512, allocations: 4 kB / 1.196 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.9516, allocations: 175.5 kB / 1.196 GB, free: 10.98 MB / 0.9512 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.001714/0.9533, allocations: 1.698 MB / 1.197 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.9536, allocations: 90.45 kB / 1.198 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.9538, allocations: 88.81 kB / 1.198 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.9541, allocations: 186.1 kB / 1.198 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.9541, allocations: 38.56 kB / 1.198 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.9541, allocations: 0 / 1.198 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0006993/0.9548, allocations: 221.1 kB / 1.198 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.9549, allocations: 51.41 kB / 1.198 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.9552, allocations: 328.4 kB / 1.198 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.9552, allocations: 29.7 kB / 1.198 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.9554, allocations: 199.8 kB / 1.199 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.9554, allocations: 35.45 kB / 1.199 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.951e-05/0.9555, allocations: 49.7 kB / 1.199 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.9556, allocations: 338.8 kB / 1.199 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.9558, allocations: 60.81 kB / 1.199 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.9561, allocations: 197 kB / 1.199 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.9565, allocations: 237.5 kB / 1.2 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.9565, allocations: 0 / 1.2 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004969/0.957, allocations: 260.9 kB / 1.2 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.9571, allocations: 8 kB / 1.2 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.9571, allocations: 4 kB / 1.2 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.9571, allocations: 4 kB / 1.2 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.9574, allocations: 47.91 kB / 1.2 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.9574, allocations: 7.938 kB / 1.2 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.9576, allocations: 35.95 kB / 1.2 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.9577, allocations: 23.98 kB / 1.2 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002405/0.9579, allocations: 169.6 kB / 1.2 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002423/0.9582, allocations: 190 kB / 1.2 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003542/0.9585, allocations: 237.5 kB / 1.2 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.814e-06/0.9586, allocations: 4.156 kB / 1.2 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004697/0.959, allocations: 257.1 kB / 1.201 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.9591, allocations: 4 kB / 1.201 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.9591, allocations: 4 kB / 1.201 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.9591, allocations: 4 kB / 1.201 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.9592, allocations: 43.92 kB / 1.201 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.9593, allocations: 15.92 kB / 1.201 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.9595, allocations: 31.83 kB / 1.201 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.9595, allocations: 12.25 kB / 1.201 GB, free: 5.371 MB / 0.9512 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.0001267/0.9597, allocations: 196.2 kB / 1.201 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/0.9597, allocations: 31.56 kB / 1.201 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.9601, allocations: 164.8 kB / 1.201 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.9601, allocations: 4 kB / 1.201 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9602, allocations: 0 / 1.201 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.9602, allocations: 3.984 kB / 1.201 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009308/0.9611, allocations: 0.6134 MB / 1.202 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.9611, allocations: 4.031 kB / 1.202 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.9612, allocations: 23.98 kB / 1.202 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.9613, allocations: 0 / 1.202 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.9613, allocations: 4 kB / 1.202 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.9613, allocations: 4 kB / 1.202 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.9613, allocations: 7.875 kB / 1.202 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.9617, allocations: 309.1 kB / 1.202 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.68e-05/0.9618, allocations: 108.8 kB / 1.202 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.9618, allocations: 8 kB / 1.202 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.962, allocations: 11.98 kB / 1.202 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.9621, allocations: 19.86 kB / 1.202 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.9621, allocations: 4 kB / 1.202 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002187/0.9623, allocations: 227 kB / 1.203 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9623, allocations: 0 / 1.203 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005739/0.9629, allocations: 131.8 kB / 1.203 GB, free: 3.371 MB / 0.9512 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.0009374/0.9638, allocations: 0.9037 MB / 1.204 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000587/0.9644, allocations: 252.2 kB / 1.204 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.9645, allocations: 0 / 1.204 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.9646, allocations: 69.14 kB / 1.204 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008071/0.9655, allocations: 122.4 kB / 1.204 GB, free: 2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.9693, allocations: 2.807 MB / 1.207 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.9698, allocations: 0.7794 MB / 1.207 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003048/0.9701, allocations: 90.88 kB / 1.208 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.9702, allocations: 91.41 kB / 1.208 GB, free: 14 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/0.9702, allocations: 0 / 1.208 GB, free: 14 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.9964, allocations: 7.827 MB / 1.215 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/8.573, allocations: 5.734 kB / 1.215 GB, free: 6.309 MB / 0.9669 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches