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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001128/0.001128, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.009163/0.009163, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437.8 MB / 0.7121 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 12 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6641/0.6645, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1767/0.8412, allocations: 165.1 MB / 1.184 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00907/0.8504, allocations: 7.246 MB / 1.191 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004407/0.8508, allocations: 11.94 kB / 1.191 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000688/0.8515, allocations: 167 kB / 1.192 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.853, allocations: 0.5447 MB / 1.192 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.8541, allocations: 376.2 kB / 1.192 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001242/0.8554, allocations: 1.033 MB / 1.193 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004573/0.8558, allocations: 218.4 kB / 1.194 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007403/0.8566, allocations: 338.6 kB / 1.194 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.857, allocations: 223 kB / 1.194 GB, free: 56 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.857, allocations: 12 kB / 1.194 GB, free: 44 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.8584, allocations: 0.7832 MB / 1.195 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.8585, allocations: 99.69 kB / 1.195 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.8587, allocations: 172.9 kB / 1.195 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008563/0.8596, allocations: 0.5802 MB / 1.196 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8596, allocations: 0 / 1.196 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8596, allocations: 0 / 1.196 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.8596, allocations: 0 / 1.196 GB, free: 14.4 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.0008683/0.8605, allocations: 0.5844 MB / 1.196 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.8605, allocations: 12.03 kB / 1.196 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.755e-05/0.8606, allocations: 58.48 kB / 1.196 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003388/0.8609, allocations: 67.5 kB / 1.196 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.8614, allocations: 306.1 kB / 1.197 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.8614, allocations: 16.44 kB / 1.197 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.8614, allocations: 24 kB / 1.197 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004867/0.8619, allocations: 304.6 kB / 1.197 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.8619, allocations: 7.938 kB / 1.197 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.862, allocations: 4 kB / 1.197 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.862, allocations: 8 kB / 1.197 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/0.8624, allocations: 191.5 kB / 1.197 GB, free: 12.7 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.001759/0.8642, allocations: 1.706 MB / 1.199 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.8644, allocations: 90.56 kB / 1.199 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.8646, allocations: 88.8 kB / 1.199 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/0.8649, allocations: 190.2 kB / 1.199 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.8649, allocations: 38.56 kB / 1.199 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 2.916e-06/0.8649, allocations: 3.938 kB / 1.199 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0006945/0.8656, allocations: 237.1 kB / 1.2 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.8657, allocations: 51.41 kB / 1.2 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.8661, allocations: 320.5 kB / 1.2 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.8661, allocations: 37.7 kB / 1.2 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.8662, allocations: 195.7 kB / 1.2 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.8663, allocations: 35.55 kB / 1.2 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.8663, allocations: 21.72 kB / 1.2 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.8665, allocations: 338.8 kB / 1.201 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.8667, allocations: 55.95 kB / 1.201 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.867, allocations: 211.5 kB / 1.201 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.8674, allocations: 245.5 kB / 1.201 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8674, allocations: 0 / 1.201 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005111/0.8679, allocations: 276.7 kB / 1.201 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.8681, allocations: 192 kB / 1.201 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.8681, allocations: 4 kB / 1.201 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.8682, allocations: 4 kB / 1.202 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.8684, allocations: 51.91 kB / 1.202 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.8684, allocations: 8.016 kB / 1.202 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.8687, allocations: 59.58 kB / 1.202 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.8688, allocations: 12 kB / 1.202 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.8688, allocations: 4 kB / 1.202 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004194/0.8692, allocations: 199.6 kB / 1.202 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.8692, allocations: 7.938 kB / 1.202 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.8692, allocations: 8 kB / 1.202 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.8694, allocations: 56.31 kB / 1.202 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.8694, allocations: 11.94 kB / 1.202 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.8697, allocations: 31.83 kB / 1.202 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.8697, allocations: 15.98 kB / 1.202 GB, free: 7.566 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.0001874/0.8699, allocations: 233 kB / 1.202 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.87, allocations: 39.56 kB / 1.202 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/0.8704, allocations: 176.8 kB / 1.202 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.8704, allocations: 4 kB / 1.202 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.8704, allocations: 0 / 1.202 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8704, allocations: 0 / 1.202 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009659/0.8714, allocations: 0.621 MB / 1.203 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.8714, allocations: 4 kB / 1.203 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.8715, allocations: 23.98 kB / 1.203 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.8716, allocations: 4 kB / 1.203 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.8716, allocations: 4 kB / 1.203 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.8716, allocations: 4 kB / 1.203 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.8716, allocations: 8.156 kB / 1.203 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.872, allocations: 317.1 kB / 1.203 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.8721, allocations: 112.7 kB / 1.203 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.8722, allocations: 4 kB / 1.203 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.8724, allocations: 23.92 kB / 1.203 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.8724, allocations: 28.12 kB / 1.203 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.8724, allocations: 4 kB / 1.203 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002351/0.8727, allocations: 227 kB / 1.204 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8727, allocations: 0 / 1.204 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005642/0.8733, allocations: 127.8 kB / 1.204 GB, free: 5.477 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.001047/0.8743, allocations: 0.9037 MB / 1.205 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005938/0.8749, allocations: 265 kB / 1.205 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.8749, allocations: 0 / 1.205 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.8751, allocations: 67.89 kB / 1.205 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009847/0.8761, allocations: 141.9 kB / 1.205 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.8802, allocations: 2.925 MB / 1.208 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.8806, allocations: 0.7719 MB / 1.209 GB, free: 144 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003067/0.8809, allocations: 90.88 kB / 1.209 GB, free: 52 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.881, allocations: 91.41 kB / 1.209 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.881, allocations: 0 / 1.209 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.903, allocations: 7.471 MB / 1.216 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/0.9032, allocations: 234.8 kB / 1.216 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.854, allocations: 7.812 kB / 1.216 GB, free: 8.406 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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