Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_10_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.009597/0.009597, allocations: 100.7 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.00213/0.002129, allocations: 191 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.515/1.515, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.84 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2727, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.858/1.131, allocations: 169.5 MB / 1.332 GB, free: 2.035 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01119/1.142, allocations: 7.32 MB / 1.339 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007339/1.143, allocations: 11.81 kB / 1.339 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009879/1.144, allocations: 222.3 kB / 1.339 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002187/1.146, allocations: 0.592 MB / 1.34 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/1.148, allocations: 437.9 kB / 1.34 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001219/1.149, allocations: 0.7104 MB / 1.341 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005114/1.149, allocations: 272.2 kB / 1.341 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/1.15, allocations: 382.5 kB / 1.341 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004507/1.151, allocations: 213.1 kB / 1.342 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.596e-05/1.151, allocations: 19.47 kB / 1.342 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/1.152, allocations: 0.7121 MB / 1.342 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001676/1.153, allocations: 106.3 kB / 1.342 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002612/1.153, allocations: 159.8 kB / 1.343 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/1.154, allocations: 0.5725 MB / 1.343 GB, free: 10.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.154, allocations: 1.312 kB / 1.343 GB, free: 10.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/1.154, allocations: 0 / 1.343 GB, free: 10.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.401e-05/1.154, allocations: 0 / 1.343 GB, free: 10.84 MB / 1.029 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.001172/1.155, allocations: 0.6412 MB / 1.344 GB, free: 10.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.155, allocations: 9.938 kB / 1.344 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.852e-05/1.155, allocations: 57.91 kB / 1.344 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004469/1.156, allocations: 69.23 kB / 1.344 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/1.156, allocations: 317.3 kB / 1.344 GB, free: 9.957 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/1.156, allocations: 17.53 kB / 1.344 GB, free: 9.949 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/1.156, allocations: 24.53 kB / 1.344 GB, free: 9.941 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/1.157, allocations: 303.3 kB / 1.344 GB, free: 9.742 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.157, allocations: 0 / 1.344 GB, free: 9.742 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/1.157, allocations: 14.84 kB / 1.344 GB, free: 9.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/1.157, allocations: 6.812 kB / 1.344 GB, free: 9.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/1.158, allocations: 177.7 kB / 1.345 GB, free: 9.676 MB / 1.029 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.001803/1.159, allocations: 1.698 MB / 1.346 GB, free: 8.203 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/1.16, allocations: 91.3 kB / 1.346 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/1.16, allocations: 76 kB / 1.346 GB, free: 8.133 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/1.16, allocations: 192.6 kB / 1.347 GB, free: 7.938 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/1.16, allocations: 30.56 kB / 1.347 GB, free: 7.898 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/1.16, allocations: 0 / 1.347 GB, free: 7.898 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0006988/1.161, allocations: 232.5 kB / 1.347 GB, free: 7.805 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/1.161, allocations: 53 kB / 1.347 GB, free: 7.742 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/1.161, allocations: 319.9 kB / 1.347 GB, free: 7.574 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/1.161, allocations: 27.17 kB / 1.347 GB, free: 7.543 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/1.161, allocations: 197.2 kB / 1.347 GB, free: 7.375 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/1.161, allocations: 41.42 kB / 1.348 GB, free: 7.344 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/1.162, allocations: 53.95 kB / 1.348 GB, free: 7.309 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.162, allocations: 338.6 kB / 1.348 GB, free: 6.984 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/1.162, allocations: 58.89 kB / 1.348 GB, free: 6.965 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/1.162, allocations: 197 kB / 1.348 GB, free: 6.777 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/1.163, allocations: 226.4 kB / 1.348 GB, free: 6.598 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.163, allocations: 1.469 kB / 1.348 GB, free: 6.598 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000486/1.163, allocations: 260.6 kB / 1.349 GB, free: 6.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.163, allocations: 11.47 kB / 1.349 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.163, allocations: 3.812 kB / 1.349 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.163, allocations: 7.516 kB / 1.349 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/1.163, allocations: 50.7 kB / 1.349 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.163, allocations: 7.844 kB / 1.349 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/1.164, allocations: 38.95 kB / 1.349 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/1.164, allocations: 10.41 kB / 1.349 GB, free: 6.449 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002333/1.164, allocations: 167.6 kB / 1.349 GB, free: 6.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002411/1.164, allocations: 196.7 kB / 1.349 GB, free: 6.152 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003547/1.164, allocations: 230 kB / 1.349 GB, free: 5.969 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/1.164, allocations: 1.25 kB / 1.349 GB, free: 5.969 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005066/1.165, allocations: 255.2 kB / 1.35 GB, free: 5.855 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/1.165, allocations: 10.5 kB / 1.35 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/1.165, allocations: 3.688 kB / 1.35 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/1.165, allocations: 4.938 kB / 1.35 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/1.165, allocations: 51.39 kB / 1.35 GB, free: 5.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/1.165, allocations: 10.53 kB / 1.35 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/1.165, allocations: 33.58 kB / 1.35 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/1.166, allocations: 10.25 kB / 1.35 GB, free: 5.824 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.0001267/1.166, allocations: 197.1 kB / 1.35 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/1.166, allocations: 29.22 kB / 1.35 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/1.166, allocations: 164.9 kB / 1.35 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.166, allocations: 1.188 kB / 1.35 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.166, allocations: 3.938 kB / 1.35 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.166, allocations: 2.844 kB / 1.35 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000942/1.167, allocations: 0.6098 MB / 1.351 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.167, allocations: 1.406 kB / 1.351 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/1.167, allocations: 24.38 kB / 1.351 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/1.167, allocations: 2.344 kB / 1.351 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/1.167, allocations: 6.281 kB / 1.351 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/1.167, allocations: 7.375 kB / 1.351 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.167, allocations: 6.438 kB / 1.351 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/1.168, allocations: 305.8 kB / 1.351 GB, free: 4.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/1.168, allocations: 119 kB / 1.351 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/1.168, allocations: 2.844 kB / 1.351 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/1.168, allocations: 9.922 kB / 1.351 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/1.168, allocations: 16.34 kB / 1.351 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/1.168, allocations: 6.031 kB / 1.351 GB, free: 4.695 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002506/1.168, allocations: 230.9 kB / 1.351 GB, free: 4.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/1.168, allocations: 0 / 1.351 GB, free: 4.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006527/1.169, allocations: 130.2 kB / 1.351 GB, free: 4.551 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.0009344/1.17, allocations: 0.9116 MB / 1.352 GB, free: 3.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000614/1.171, allocations: 241.1 kB / 1.353 GB, free: 3.688 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.171, allocations: 0 / 1.353 GB, free: 3.688 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/1.171, allocations: 68 kB / 1.353 GB, free: 3.664 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007649/1.172, allocations: 126 kB / 1.353 GB, free: 3.625 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/1.175, allocations: 2.807 MB / 1.355 GB, free: 1.594 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/1.176, allocations: 0.774 MB / 1.356 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002925/1.176, allocations: 87.78 kB / 1.356 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/1.176, allocations: 91.61 kB / 1.356 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of SimCode: time 1.823e-06/1.176, allocations: 0 / 1.356 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/1.205, allocations: 7.928 MB / 1.364 GB, free: 14.21 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/9.226, allocations: 7.375 kB / 1.364 GB, free: 14.21 MB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches