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.007067/0.007067, allocations: 103.5 kB / 15.74 MB, free: 6.488 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.001705/0.001705, allocations: 194.5 kB / 16.68 MB, free: 6.375 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.32/2.32, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.97 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2605, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1682/0.4288, allocations: 169.5 MB / 1.253 GB, free: 7.848 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007735/0.4366, allocations: 7.307 MB / 1.26 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.4369, allocations: 15.94 kB / 1.26 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006033/0.4375, allocations: 218.5 kB / 1.26 GB, free: 296 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.6636/1.101, allocations: 0.5605 MB / 1.261 GB, free: 3.477 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/1.103, allocations: 435.6 kB / 1.261 GB, free: 3.477 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001255/1.104, allocations: 0.7009 MB / 1.262 GB, free: 3.477 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005084/1.105, allocations: 270.7 kB / 1.262 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007639/1.105, allocations: 375.3 kB / 1.263 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/1.106, allocations: 216.7 kB / 1.263 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/1.106, allocations: 19.78 kB / 1.263 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/1.107, allocations: 0.7048 MB / 1.264 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/1.107, allocations: 104.7 kB / 1.264 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002421/1.108, allocations: 158.1 kB / 1.264 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/1.109, allocations: 0.5747 MB / 1.264 GB, free: 3.453 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/1.109, allocations: 0.6094 kB / 1.264 GB, free: 3.453 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.044e-06/1.109, allocations: 1.875 kB / 1.264 GB, free: 3.453 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.109, allocations: 0 / 1.264 GB, free: 3.453 MB / 1.014 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.0009177/1.11, allocations: 0.64 MB / 1.265 GB, free: 2.969 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/1.11, allocations: 9.219 kB / 1.265 GB, free: 2.969 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.037e-05/1.11, allocations: 60.02 kB / 1.265 GB, free: 2.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000381/1.11, allocations: 62.98 kB / 1.265 GB, free: 2.914 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/1.111, allocations: 323.6 kB / 1.265 GB, free: 2.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/1.111, allocations: 17.75 kB / 1.265 GB, free: 2.68 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/1.111, allocations: 22.94 kB / 1.265 GB, free: 2.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/1.111, allocations: 298.9 kB / 1.266 GB, free: 2.559 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/1.111, allocations: 4.266 kB / 1.266 GB, free: 2.559 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/1.111, allocations: 9.438 kB / 1.266 GB, free: 2.559 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/1.111, allocations: 8.297 kB / 1.266 GB, free: 2.559 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/1.112, allocations: 179.3 kB / 1.266 GB, free: 2.559 MB / 1.014 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.001806/1.114, allocations: 1.701 MB / 1.268 GB, free: 17.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/1.114, allocations: 91.12 kB / 1.268 GB, free: 17.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/1.114, allocations: 82.09 kB / 1.268 GB, free: 17.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/1.115, allocations: 188.5 kB / 1.268 GB, free: 17.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/1.115, allocations: 33.28 kB / 1.268 GB, free: 17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/1.115, allocations: 0 / 1.268 GB, free: 17 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0007434/1.115, allocations: 221.4 kB / 1.268 GB, free: 16.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/1.115, allocations: 58.34 kB / 1.268 GB, free: 16.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/1.116, allocations: 321.5 kB / 1.269 GB, free: 16.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/1.116, allocations: 28.92 kB / 1.269 GB, free: 16.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/1.116, allocations: 200.5 kB / 1.269 GB, free: 16.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/1.116, allocations: 38.28 kB / 1.269 GB, free: 16.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.472e-05/1.116, allocations: 48.25 kB / 1.269 GB, free: 16.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.116, allocations: 338.4 kB / 1.269 GB, free: 16.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/1.116, allocations: 61.89 kB / 1.269 GB, free: 16.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/1.117, allocations: 196.1 kB / 1.269 GB, free: 16.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/1.117, allocations: 238 kB / 1.27 GB, free: 15.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.117, allocations: 2.875 kB / 1.27 GB, free: 15.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004902/1.117, allocations: 250.5 kB / 1.27 GB, free: 15.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.117, allocations: 8.688 kB / 1.27 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.118, allocations: 6.281 kB / 1.27 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/1.118, allocations: 4.844 kB / 1.27 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/1.118, allocations: 50.34 kB / 1.27 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.118, allocations: 12.92 kB / 1.27 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/1.118, allocations: 38.83 kB / 1.27 GB, free: 15.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/1.118, allocations: 12.73 kB / 1.27 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002346/1.118, allocations: 167.3 kB / 1.27 GB, free: 15.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002228/1.119, allocations: 195.5 kB / 1.27 GB, free: 15.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003439/1.119, allocations: 236.7 kB / 1.271 GB, free: 15.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/1.119, allocations: 1.656 kB / 1.271 GB, free: 15.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000495/1.119, allocations: 250 kB / 1.271 GB, free: 15.51 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.119, allocations: 10.31 kB / 1.271 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.119, allocations: 3.75 kB / 1.271 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-06/1.119, allocations: 5 kB / 1.271 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/1.12, allocations: 46.05 kB / 1.271 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.12, allocations: 9.75 kB / 1.271 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/1.12, allocations: 33.59 kB / 1.271 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/1.12, allocations: 16.08 kB / 1.271 GB, free: 15.5 MB / 1.029 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.0001085/1.12, allocations: 194.3 kB / 1.271 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/1.12, allocations: 30.78 kB / 1.271 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/1.12, allocations: 169.8 kB / 1.271 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/1.12, allocations: 1.938 kB / 1.271 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.12, allocations: 5.344 kB / 1.271 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/1.12, allocations: 1.328 kB / 1.271 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000919/1.121, allocations: 0.6054 MB / 1.272 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/1.121, allocations: 3.688 kB / 1.272 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/1.122, allocations: 26.86 kB / 1.272 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.122, allocations: 3.172 kB / 1.272 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/1.122, allocations: 4.844 kB / 1.272 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/1.122, allocations: 6 kB / 1.272 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.122, allocations: 3.891 kB / 1.272 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/1.122, allocations: 304.7 kB / 1.272 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/1.122, allocations: 114.2 kB / 1.272 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/1.122, allocations: 12.27 kB / 1.272 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/1.122, allocations: 11.06 kB / 1.272 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/1.122, allocations: 17.03 kB / 1.272 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/1.122, allocations: 9.578 kB / 1.272 GB, free: 14.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002388/1.123, allocations: 225.1 kB / 1.273 GB, free: 14.51 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.123, allocations: 0 / 1.273 GB, free: 14.51 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006838/1.123, allocations: 128.2 kB / 1.273 GB, free: 14.5 MB / 1.029 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.0009418/1.124, allocations: 0.9003 MB / 1.274 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006291/1.125, allocations: 256.3 kB / 1.274 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.125, allocations: 0.5 kB / 1.274 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/1.125, allocations: 62.23 kB / 1.274 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007504/1.126, allocations: 134.4 kB / 1.274 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/1.13, allocations: 2.789 MB / 1.277 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/1.13, allocations: 0.7738 MB / 1.278 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003172/1.13, allocations: 86.33 kB / 1.278 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/1.13, allocations: 90.12 kB / 1.278 GB, free: 11.39 MB / 1.029 GB Notification: Performance of SimCode: time 1.192e-06/1.13, allocations: 0 / 1.278 GB, free: 11.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0474/1.178, allocations: 7.909 MB / 1.285 GB, free: 10.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.969/10.15, allocations: 12.62 kB / 1.285 GB, free: 10.75 MB / 1.029 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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