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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001348/0.001348, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001637/0.001637, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.587/2.587, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 65.69 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2534, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1565/0.4099, allocations: 167.2 MB / 1.216 GB, free: 372 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007489/0.4174, allocations: 7.335 MB / 1.223 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.4178, allocations: 11.94 kB / 1.223 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005644/0.4183, allocations: 163 kB / 1.223 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.4196, allocations: 0.5447 MB / 1.223 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009691/0.4206, allocations: 382 kB / 1.224 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.4216, allocations: 1.029 MB / 1.225 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.422, allocations: 226.3 kB / 1.225 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.4226, allocations: 350.5 kB / 1.225 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.4229, allocations: 231.1 kB / 1.226 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.4229, allocations: 15.94 kB / 1.226 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.424, allocations: 0.7755 MB / 1.226 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.4241, allocations: 99.64 kB / 1.226 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.4243, allocations: 151.2 kB / 1.227 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007489/0.425, allocations: 0.5803 MB / 1.227 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4251, allocations: 0 / 1.227 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4251, allocations: 0 / 1.227 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.4251, allocations: 0 / 1.227 GB, free: 4.48 MB / 0.9825 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.0008461/0.4259, allocations: 0.6465 MB / 1.228 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.426, allocations: 15.97 kB / 1.228 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.248e-05/0.426, allocations: 66.41 kB / 1.228 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003118/0.4264, allocations: 59.59 kB / 1.228 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.4267, allocations: 310 kB / 1.228 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.4267, allocations: 16.44 kB / 1.228 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.4268, allocations: 24 kB / 1.228 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.4272, allocations: 304.6 kB / 1.228 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4273, allocations: 7.875 kB / 1.228 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.4273, allocations: 15.94 kB / 1.229 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4273, allocations: 8 kB / 1.229 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.4277, allocations: 179.5 kB / 1.229 GB, free: 2.711 MB / 0.9825 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.001497/0.4292, allocations: 1.682 MB / 1.23 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.4294, allocations: 90.52 kB / 1.23 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.4296, allocations: 84.78 kB / 1.23 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/0.4298, allocations: 186.2 kB / 1.231 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.4299, allocations: 42.5 kB / 1.231 GB, free: 464 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.4299, allocations: 0 / 1.231 GB, free: 464 kB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0006215/0.4305, allocations: 217.2 kB / 1.231 GB, free: 240 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.4305, allocations: 51.41 kB / 1.231 GB, free: 176 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/0.4309, allocations: 328.4 kB / 1.231 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.4309, allocations: 33.64 kB / 1.231 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.431, allocations: 195.9 kB / 1.232 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.4311, allocations: 43.39 kB / 1.232 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-05/0.4312, allocations: 49.7 kB / 1.232 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4313, allocations: 338.8 kB / 1.232 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.4314, allocations: 56.81 kB / 1.232 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.4317, allocations: 195.8 kB / 1.232 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.4321, allocations: 237.4 kB / 1.232 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.4321, allocations: 3.938 kB / 1.232 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004477/0.4325, allocations: 256.8 kB / 1.233 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4325, allocations: 8 kB / 1.233 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4326, allocations: 0 / 1.233 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4326, allocations: 8.406 kB / 1.233 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.4328, allocations: 47.92 kB / 1.233 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.4328, allocations: 11.92 kB / 1.233 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.433, allocations: 35.73 kB / 1.233 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.433, allocations: 16.08 kB / 1.233 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002254/0.4333, allocations: 172.1 kB / 1.233 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002202/0.4335, allocations: 192.9 kB / 1.233 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003232/0.4338, allocations: 245.5 kB / 1.233 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.382e-06/0.4338, allocations: 0 / 1.233 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004179/0.4343, allocations: 248.9 kB / 1.234 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.4343, allocations: 8 kB / 1.234 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.4343, allocations: 4.406 kB / 1.234 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.618e-06/0.4343, allocations: 8 kB / 1.234 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.4345, allocations: 47.91 kB / 1.234 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4345, allocations: 4 kB / 1.234 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.4347, allocations: 35.81 kB / 1.234 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.4348, allocations: 11.94 kB / 1.234 GB, free: 13.11 MB / 0.9981 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.0001016/0.4349, allocations: 196.2 kB / 1.234 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.4349, allocations: 39.5 kB / 1.234 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.4353, allocations: 168.3 kB / 1.234 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.4353, allocations: 4 kB / 1.234 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4353, allocations: 0 / 1.234 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4353, allocations: 0 / 1.234 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008236/0.4361, allocations: 0.6094 MB / 1.235 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4361, allocations: 0 / 1.235 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.4363, allocations: 31.92 kB / 1.235 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4363, allocations: 4.219 kB / 1.235 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.4363, allocations: 4 kB / 1.235 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.4363, allocations: 4 kB / 1.235 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4363, allocations: 3.938 kB / 1.235 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.4367, allocations: 309 kB / 1.235 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.693e-05/0.4368, allocations: 116.7 kB / 1.235 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.4368, allocations: 4 kB / 1.235 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.437, allocations: 19.98 kB / 1.235 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.4371, allocations: 15.86 kB / 1.235 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4371, allocations: 8 kB / 1.235 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001997/0.4373, allocations: 223 kB / 1.235 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4373, allocations: 4 kB / 1.235 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005153/0.4378, allocations: 127.8 kB / 1.236 GB, free: 11.1 MB / 0.9981 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.0008228/0.4387, allocations: 0.9069 MB / 1.236 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005049/0.4392, allocations: 244.9 kB / 1.237 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4392, allocations: 0 / 1.237 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.4393, allocations: 67.83 kB / 1.237 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.4402, allocations: 140.8 kB / 1.237 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.4433, allocations: 2.861 MB / 1.24 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.4437, allocations: 0.7836 MB / 1.24 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003559/0.444, allocations: 91.53 kB / 1.24 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.4442, allocations: 87.41 kB / 1.241 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of SimCode: time 1.523e-06/0.4442, allocations: 0 / 1.241 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6403/1.084, allocations: 7.592 MB / 1.248 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/1.085, allocations: 242.3 kB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/3.156, allocations: 0 / 1.248 GB, free: 194.1 MB / 0.9981 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