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.001121/0.001121, allocations: 108 kB / 15.61 MB, free: 152 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.001207/0.001207, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 461.9 MB / 0.7347 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 62.22 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2852, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1657/0.451, allocations: 169.5 MB / 1.218 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007024/0.4581, allocations: 7.308 MB / 1.226 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002782/0.4584, allocations: 15.88 kB / 1.226 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.4589, allocations: 210.6 kB / 1.226 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.4601, allocations: 0.5755 MB / 1.226 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008917/0.461, allocations: 429.2 kB / 1.227 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00068/0.4617, allocations: 0.709 MB / 1.227 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.462, allocations: 266.9 kB / 1.228 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005266/0.4626, allocations: 382.5 kB / 1.228 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.4628, allocations: 218.9 kB / 1.228 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.4629, allocations: 20 kB / 1.228 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009048/0.4638, allocations: 0.7016 MB / 1.229 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.4639, allocations: 111.6 kB / 1.229 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.464, allocations: 159.2 kB / 1.229 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006176/0.4647, allocations: 0.5531 MB / 1.23 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.4647, allocations: 0 / 1.23 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.156e-06/0.4647, allocations: 4 kB / 1.23 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.4647, allocations: 7.938 kB / 1.23 GB, free: 2.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.0007672/0.4655, allocations: 0.6426 MB / 1.23 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.4655, allocations: 8.625 kB / 1.23 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.4656, allocations: 62.48 kB / 1.23 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.4659, allocations: 59.58 kB / 1.231 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.4662, allocations: 310.1 kB / 1.231 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4662, allocations: 16.44 kB / 1.231 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.4663, allocations: 24 kB / 1.231 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.4667, allocations: 304.5 kB / 1.231 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4667, allocations: 7.938 kB / 1.231 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.4667, allocations: 8 kB / 1.231 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4668, allocations: 8 kB / 1.231 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.4671, allocations: 171.5 kB / 1.231 GB, free: 0.7422 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.001412/0.4685, allocations: 1.702 MB / 1.233 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.4688, allocations: 90.48 kB / 1.233 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.4689, allocations: 80.78 kB / 1.233 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.4692, allocations: 190.2 kB / 1.233 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.4692, allocations: 30.56 kB / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.4692, allocations: 0 / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0006115/0.4698, allocations: 225.2 kB / 1.234 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.4699, allocations: 55.41 kB / 1.234 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.4701, allocations: 320.5 kB / 1.234 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.4702, allocations: 29.7 kB / 1.234 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.4703, allocations: 191.8 kB / 1.234 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.4703, allocations: 47.39 kB / 1.234 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.4704, allocations: 45.7 kB / 1.234 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4705, allocations: 334.8 kB / 1.235 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.4706, allocations: 68.81 kB / 1.235 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.4709, allocations: 189.1 kB / 1.235 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.4712, allocations: 233.5 kB / 1.235 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.4712, allocations: 4 kB / 1.235 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000424/0.4716, allocations: 253.1 kB / 1.235 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.4717, allocations: 4 kB / 1.235 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.4717, allocations: 4 kB / 1.235 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4717, allocations: 7.938 kB / 1.235 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.4719, allocations: 51.91 kB / 1.235 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.4719, allocations: 11.94 kB / 1.235 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.4721, allocations: 35.72 kB / 1.235 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.4722, allocations: 12 kB / 1.235 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002111/0.4724, allocations: 172.2 kB / 1.236 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002322/0.4726, allocations: 203.7 kB / 1.236 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003178/0.4729, allocations: 233.5 kB / 1.236 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.4729, allocations: 3.984 kB / 1.236 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004135/0.4734, allocations: 253.2 kB / 1.236 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.4734, allocations: 9.406 kB / 1.236 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4734, allocations: 4 kB / 1.236 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.98e-06/0.4734, allocations: 4 kB / 1.236 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.4736, allocations: 51.91 kB / 1.236 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4736, allocations: 7.938 kB / 1.236 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.4738, allocations: 27.83 kB / 1.236 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.4738, allocations: 16 kB / 1.236 GB, free: 11.14 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 9.93e-05/0.4739, allocations: 200.3 kB / 1.237 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.474, allocations: 35.56 kB / 1.237 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.4743, allocations: 176.7 kB / 1.237 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4743, allocations: 0 / 1.237 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4744, allocations: 0 / 1.237 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.4744, allocations: 0 / 1.237 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007788/0.4751, allocations: 0.6015 MB / 1.237 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4752, allocations: 4.219 kB / 1.237 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.4753, allocations: 23.98 kB / 1.237 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4753, allocations: 4 kB / 1.237 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4753, allocations: 8 kB / 1.237 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4753, allocations: 7.984 kB / 1.237 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.4753, allocations: 7.875 kB / 1.237 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.4757, allocations: 297.1 kB / 1.238 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/0.4757, allocations: 116.7 kB / 1.238 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.4758, allocations: 7.984 kB / 1.238 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.476, allocations: 12 kB / 1.238 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.476, allocations: 19.86 kB / 1.238 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.476, allocations: 4 kB / 1.238 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001902/0.4762, allocations: 227 kB / 1.238 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4762, allocations: 0 / 1.238 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004858/0.4767, allocations: 135.8 kB / 1.238 GB, free: 9.133 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.000796/0.4775, allocations: 0.9004 MB / 1.239 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005045/0.478, allocations: 244.7 kB / 1.239 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4781, allocations: 0 / 1.239 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.4782, allocations: 67.83 kB / 1.239 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007362/0.4789, allocations: 130.5 kB / 1.239 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.4819, allocations: 2.806 MB / 1.242 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.4822, allocations: 0.7756 MB / 1.243 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000253/0.4825, allocations: 90.88 kB / 1.243 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.4826, allocations: 87.41 kB / 1.243 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.4826, allocations: 0 / 1.243 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.618/3.101, allocations: 7.81 MB / 1.251 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/13.87, allocations: 3.266 kB / 1.251 GB, free: 194.8 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