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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005552/0.005552, allocations: 104.5 kB / 15.73 MB, free: 6.035 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.00118/0.001181, allocations: 195.7 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.874/2.874, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001968, allocations: 64.12 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3296, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.8512/1.181, allocations: 169.5 MB / 1.373 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009049/1.19, allocations: 7.325 MB / 1.38 GB, free: 10.36 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006424/1.191, allocations: 11.5 kB / 1.38 GB, free: 10.36 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007341/1.191, allocations: 212.5 kB / 1.38 GB, free: 10.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001645/1.193, allocations: 0.569 MB / 1.381 GB, free: 9.766 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/1.194, allocations: 435.9 kB / 1.381 GB, free: 9.453 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001145/1.196, allocations: 0.7096 MB / 1.382 GB, free: 9.051 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004309/1.196, allocations: 269.8 kB / 1.382 GB, free: 8.891 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000824/1.197, allocations: 388.2 kB / 1.382 GB, free: 8.66 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/1.197, allocations: 215.5 kB / 1.383 GB, free: 8.535 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/1.197, allocations: 19.69 kB / 1.383 GB, free: 8.535 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/1.199, allocations: 0.695 MB / 1.383 GB, free: 8.145 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/1.199, allocations: 113.4 kB / 1.383 GB, free: 8.066 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001829/1.199, allocations: 155.6 kB / 1.384 GB, free: 7.973 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/1.2, allocations: 0.5659 MB / 1.384 GB, free: 7.625 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.267e-05/1.2, allocations: 0.9062 kB / 1.384 GB, free: 7.625 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.353e-06/1.2, allocations: 3.938 kB / 1.384 GB, free: 7.621 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.2, allocations: 4 kB / 1.384 GB, free: 7.617 MB / 1.076 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.001007/1.201, allocations: 0.6447 MB / 1.385 GB, free: 7.039 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/1.201, allocations: 9.812 kB / 1.385 GB, free: 7.039 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.495e-05/1.201, allocations: 54.14 kB / 1.385 GB, free: 6.984 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/1.202, allocations: 72.42 kB / 1.385 GB, free: 6.945 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/1.202, allocations: 317.1 kB / 1.385 GB, free: 6.652 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/1.202, allocations: 18.09 kB / 1.385 GB, free: 6.645 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/1.202, allocations: 20.72 kB / 1.385 GB, free: 6.641 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/1.203, allocations: 300.2 kB / 1.386 GB, free: 6.406 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/1.203, allocations: 0 / 1.386 GB, free: 6.406 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/1.203, allocations: 19.16 kB / 1.386 GB, free: 6.391 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/1.203, allocations: 10.78 kB / 1.386 GB, free: 6.387 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003943/1.203, allocations: 185.1 kB / 1.386 GB, free: 6.297 MB / 1.076 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.001749/1.205, allocations: 1.693 MB / 1.387 GB, free: 4.691 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/1.205, allocations: 84.77 kB / 1.387 GB, free: 4.641 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/1.205, allocations: 74.16 kB / 1.388 GB, free: 4.605 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/1.206, allocations: 199.9 kB / 1.388 GB, free: 4.395 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/1.206, allocations: 31.81 kB / 1.388 GB, free: 4.355 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/1.206, allocations: 3.938 kB / 1.388 GB, free: 4.352 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0007479/1.207, allocations: 223.3 kB / 1.388 GB, free: 4.234 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/1.207, allocations: 52.72 kB / 1.388 GB, free: 4.172 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/1.207, allocations: 322 kB / 1.388 GB, free: 3.965 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/1.207, allocations: 26.73 kB / 1.388 GB, free: 3.934 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/1.207, allocations: 202.3 kB / 1.389 GB, free: 3.75 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/1.207, allocations: 36.55 kB / 1.389 GB, free: 3.719 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.584e-05/1.207, allocations: 53.64 kB / 1.389 GB, free: 3.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.207, allocations: 337.2 kB / 1.389 GB, free: 3.348 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/1.208, allocations: 62.84 kB / 1.389 GB, free: 3.312 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/1.208, allocations: 198.6 kB / 1.389 GB, free: 3.105 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/1.208, allocations: 230.9 kB / 1.389 GB, free: 2.902 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.208, allocations: 1.344 kB / 1.389 GB, free: 2.902 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005668/1.209, allocations: 256.4 kB / 1.39 GB, free: 2.758 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/1.209, allocations: 6.562 kB / 1.39 GB, free: 2.758 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.209, allocations: 4.312 kB / 1.39 GB, free: 2.758 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/1.209, allocations: 4.625 kB / 1.39 GB, free: 2.758 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/1.209, allocations: 43.55 kB / 1.39 GB, free: 2.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/1.209, allocations: 8.922 kB / 1.39 GB, free: 2.746 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/1.21, allocations: 38.95 kB / 1.39 GB, free: 2.723 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/1.21, allocations: 14.59 kB / 1.39 GB, free: 2.719 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002587/1.21, allocations: 168.8 kB / 1.39 GB, free: 2.594 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002786/1.21, allocations: 198.3 kB / 1.39 GB, free: 2.387 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003569/1.211, allocations: 229.4 kB / 1.39 GB, free: 2.184 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/1.211, allocations: 1.094 kB / 1.39 GB, free: 2.184 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004904/1.211, allocations: 252.3 kB / 1.391 GB, free: 2.043 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.211, allocations: 14.62 kB / 1.391 GB, free: 2.035 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.211, allocations: 7.5 kB / 1.391 GB, free: 2.035 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/1.211, allocations: 4.594 kB / 1.391 GB, free: 2.035 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/1.211, allocations: 50.94 kB / 1.391 GB, free: 2.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/1.211, allocations: 5.5 kB / 1.391 GB, free: 2.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/1.212, allocations: 29.02 kB / 1.391 GB, free: 2.004 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/1.212, allocations: 9.625 kB / 1.391 GB, free: 2.004 MB / 1.076 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.0001296/1.212, allocations: 207 kB / 1.391 GB, free: 1.801 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/1.212, allocations: 28.78 kB / 1.391 GB, free: 1.785 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/1.212, allocations: 168.4 kB / 1.391 GB, free: 1.676 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.212, allocations: 2.125 kB / 1.391 GB, free: 1.676 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.212, allocations: 0 / 1.391 GB, free: 1.676 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.212, allocations: 0 / 1.391 GB, free: 1.676 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009417/1.213, allocations: 0.6083 MB / 1.392 GB, free: 1.137 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.213, allocations: 2.625 kB / 1.392 GB, free: 1.137 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/1.213, allocations: 35.41 kB / 1.392 GB, free: 1.121 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/1.213, allocations: 1.875 kB / 1.392 GB, free: 1.121 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/1.213, allocations: 7.5 kB / 1.392 GB, free: 1.117 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.213, allocations: 2.062 kB / 1.392 GB, free: 1.117 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.213, allocations: 6.062 kB / 1.392 GB, free: 1.113 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/1.214, allocations: 295.4 kB / 1.392 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/1.214, allocations: 121.6 kB / 1.392 GB, free: 0.7344 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/1.214, allocations: 3.562 kB / 1.392 GB, free: 0.7344 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/1.214, allocations: 13.64 kB / 1.392 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/1.214, allocations: 17.7 kB / 1.392 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/1.214, allocations: 4.125 kB / 1.392 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002161/1.214, allocations: 222.9 kB / 1.392 GB, free: 0.5742 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.214, allocations: 0 / 1.392 GB, free: 0.5742 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006147/1.215, allocations: 134.6 kB / 1.393 GB, free: 0.5508 MB / 1.076 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.001033/1.216, allocations: 0.9132 MB / 1.393 GB, free: 15.72 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006407/1.217, allocations: 246 kB / 1.394 GB, free: 15.61 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.217, allocations: 1.406 kB / 1.394 GB, free: 15.61 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/1.217, allocations: 63.22 kB / 1.394 GB, free: 15.59 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007969/1.218, allocations: 127.1 kB / 1.394 GB, free: 15.52 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/1.221, allocations: 2.791 MB / 1.397 GB, free: 13.29 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/1.222, allocations: 0.7764 MB / 1.397 GB, free: 12.54 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003025/1.222, allocations: 87.27 kB / 1.397 GB, free: 12.5 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/1.222, allocations: 88.12 kB / 1.397 GB, free: 12.43 MB / 1.092 GB Notification: Performance of SimCode: time 6.01e-07/1.222, allocations: 0 / 1.397 GB, free: 12.43 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/1.252, allocations: 8.037 MB / 1.405 GB, free: 8.402 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/9.351, allocations: 0 / 1.405 GB, free: 8.402 MB / 1.092 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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