Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_11_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.004714/0.004714, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001378/0.001378, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.534/2.534, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 59.91 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2538, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6548/0.9087, allocations: 169.5 MB / 1.386 GB, free: 1.012 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008151/0.9168, allocations: 7.315 MB / 1.393 GB, free: 11.09 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003753/0.9172, allocations: 11.66 kB / 1.393 GB, free: 11.09 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005952/0.9178, allocations: 218.5 kB / 1.393 GB, free: 10.9 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.9191, allocations: 0.5686 MB / 1.394 GB, free: 10.47 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.9202, allocations: 437.5 kB / 1.394 GB, free: 10.16 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0008451/0.9211, allocations: 0.702 MB / 1.395 GB, free: 9.758 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003623/0.9214, allocations: 266.1 kB / 1.395 GB, free: 9.605 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005642/0.922, allocations: 384.8 kB / 1.395 GB, free: 9.375 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.9223, allocations: 213.3 kB / 1.396 GB, free: 9.254 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.9223, allocations: 18.34 kB / 1.396 GB, free: 9.254 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.9233, allocations: 0.7071 MB / 1.396 GB, free: 8.852 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.9235, allocations: 106.1 kB / 1.396 GB, free: 8.781 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.9236, allocations: 159.2 kB / 1.396 GB, free: 8.684 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0007427/0.9244, allocations: 0.569 MB / 1.397 GB, free: 8.336 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.9244, allocations: 7.938 kB / 1.397 GB, free: 8.328 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9244, allocations: 1.062 kB / 1.397 GB, free: 8.328 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.9244, allocations: 0 / 1.397 GB, free: 8.328 MB / 1.092 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.0008253/0.9252, allocations: 0.6534 MB / 1.398 GB, free: 7.738 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.9253, allocations: 9.25 kB / 1.398 GB, free: 7.738 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.467e-05/0.9253, allocations: 58.62 kB / 1.398 GB, free: 7.68 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002975/0.9256, allocations: 72.55 kB / 1.398 GB, free: 7.641 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.9261, allocations: 312.4 kB / 1.398 GB, free: 7.348 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.9261, allocations: 18.59 kB / 1.398 GB, free: 7.34 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.9261, allocations: 24.5 kB / 1.398 GB, free: 7.332 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.9266, allocations: 304.6 kB / 1.398 GB, free: 7.09 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.9266, allocations: 0 / 1.398 GB, free: 7.09 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.9267, allocations: 22.66 kB / 1.398 GB, free: 7.07 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.9267, allocations: 6.125 kB / 1.398 GB, free: 7.07 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.927, allocations: 172.2 kB / 1.399 GB, free: 6.992 MB / 1.092 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.001533/0.9286, allocations: 1.703 MB / 1.4 GB, free: 5.379 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.9288, allocations: 88.5 kB / 1.4 GB, free: 5.324 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.929, allocations: 78.88 kB / 1.4 GB, free: 5.285 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.9292, allocations: 196.2 kB / 1.401 GB, free: 5.078 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.9293, allocations: 33.69 kB / 1.401 GB, free: 5.039 MB / 1.092 GB Notification: Performance of pre-optimization done (n=11): time 2.865e-06/0.9293, allocations: 0 / 1.401 GB, free: 5.039 MB / 1.092 GB Notification: Performance of matching and sorting (n=11): time 0.0006092/0.9299, allocations: 230.5 kB / 1.401 GB, free: 4.914 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.9299, allocations: 57.61 kB / 1.401 GB, free: 4.848 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.9302, allocations: 320.8 kB / 1.401 GB, free: 4.637 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.9303, allocations: 28.52 kB / 1.401 GB, free: 4.605 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.9304, allocations: 193 kB / 1.401 GB, free: 4.43 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.9304, allocations: 45.67 kB / 1.402 GB, free: 4.391 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.9305, allocations: 45.55 kB / 1.402 GB, free: 4.359 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.9307, allocations: 337.3 kB / 1.402 GB, free: 4.027 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.9308, allocations: 66.19 kB / 1.402 GB, free: 3.988 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.9311, allocations: 194.1 kB / 1.402 GB, free: 3.785 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.9314, allocations: 230.7 kB / 1.402 GB, free: 3.582 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9314, allocations: 1.969 kB / 1.402 GB, free: 3.582 MB / 1.092 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004501/0.9319, allocations: 257.1 kB / 1.403 GB, free: 3.438 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.9319, allocations: 10.16 kB / 1.403 GB, free: 3.434 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.9319, allocations: 3.281 kB / 1.403 GB, free: 3.434 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.9319, allocations: 9.625 kB / 1.403 GB, free: 3.43 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.9321, allocations: 46.78 kB / 1.403 GB, free: 3.418 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.9321, allocations: 8.719 kB / 1.403 GB, free: 3.414 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.9324, allocations: 38.8 kB / 1.403 GB, free: 3.391 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.9324, allocations: 18.45 kB / 1.403 GB, free: 3.383 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002173/0.9326, allocations: 172.6 kB / 1.403 GB, free: 3.254 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002377/0.9329, allocations: 196.2 kB / 1.403 GB, free: 3.051 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003334/0.9332, allocations: 229.5 kB / 1.403 GB, free: 2.848 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.844e-06/0.9332, allocations: 0.9062 kB / 1.403 GB, free: 2.848 MB / 1.092 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004335/0.9337, allocations: 248.7 kB / 1.404 GB, free: 2.711 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.9337, allocations: 10.34 kB / 1.404 GB, free: 2.707 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.9337, allocations: 4.75 kB / 1.404 GB, free: 2.707 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.059e-06/0.9337, allocations: 4.125 kB / 1.404 GB, free: 2.707 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.9338, allocations: 44.42 kB / 1.404 GB, free: 2.699 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.9339, allocations: 12.42 kB / 1.404 GB, free: 2.691 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.9341, allocations: 25.03 kB / 1.404 GB, free: 2.68 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.9341, allocations: 18.41 kB / 1.404 GB, free: 2.672 MB / 1.092 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.0001055/0.9342, allocations: 194.9 kB / 1.404 GB, free: 2.48 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.9343, allocations: 37.44 kB / 1.404 GB, free: 2.457 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.9346, allocations: 168.1 kB / 1.404 GB, free: 2.344 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.9346, allocations: 1.094 kB / 1.404 GB, free: 2.344 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.9346, allocations: 2.188 kB / 1.404 GB, free: 2.344 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.9347, allocations: 4.266 kB / 1.404 GB, free: 2.34 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008305/0.9355, allocations: 0.6171 MB / 1.405 GB, free: 1.793 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.9355, allocations: 1.344 kB / 1.405 GB, free: 1.793 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.9356, allocations: 22.42 kB / 1.405 GB, free: 1.789 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.9356, allocations: 3.062 kB / 1.405 GB, free: 1.789 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.9356, allocations: 2.938 kB / 1.405 GB, free: 1.789 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.9356, allocations: 5.906 kB / 1.405 GB, free: 1.789 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/0.9357, allocations: 14.3 kB / 1.405 GB, free: 1.777 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.936, allocations: 297.5 kB / 1.405 GB, free: 1.523 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.9361, allocations: 119.6 kB / 1.405 GB, free: 1.398 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.9362, allocations: 14.88 kB / 1.405 GB, free: 1.387 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.9364, allocations: 11.27 kB / 1.405 GB, free: 1.383 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.9364, allocations: 12.2 kB / 1.405 GB, free: 1.375 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.9364, allocations: 9.875 kB / 1.405 GB, free: 1.371 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002052/0.9366, allocations: 226.1 kB / 1.405 GB, free: 1.227 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9366, allocations: 0 / 1.405 GB, free: 1.227 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004775/0.9371, allocations: 130.7 kB / 1.405 GB, free: 1.207 MB / 1.092 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.0008681/0.938, allocations: 0.8996 MB / 1.406 GB, free: 396 kB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005188/0.9385, allocations: 252.7 kB / 1.407 GB, free: 280 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.9385, allocations: 1.125 kB / 1.407 GB, free: 280 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.9387, allocations: 72.58 kB / 1.407 GB, free: 244 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006711/0.9394, allocations: 125.1 kB / 1.407 GB, free: 184 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.9424, allocations: 2.8 MB / 1.41 GB, free: 13.93 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.9427, allocations: 0.785 MB / 1.41 GB, free: 13.18 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000204/0.943, allocations: 84.45 kB / 1.41 GB, free: 13.14 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.9431, allocations: 87.91 kB / 1.41 GB, free: 13.07 MB / 1.107 GB Notification: Performance of SimCode: time 2.4e-07/0.9431, allocations: 0 / 1.41 GB, free: 13.07 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8697/1.813, allocations: 7.926 MB / 1.418 GB, free: 9.125 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/14.52, allocations: 10.56 kB / 1.418 GB, free: 9.117 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches