Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_9_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.00162/0.001619, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00202/0.00202, allocations: 197.1 kB / 16.26 MB, free: 6.625 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6138, allocations: 140.4 MB / 0.9492 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.171/0.7848, allocations: 167.2 MB / 1.112 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008766/0.7937, allocations: 7.27 MB / 1.12 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005056/0.7942, allocations: 7.938 kB / 1.12 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007488/0.795, allocations: 183 kB / 1.12 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.7966, allocations: 0.5408 MB / 1.12 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.7978, allocations: 391.1 kB / 1.121 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.7988, allocations: 0.709 MB / 1.121 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004801/0.7993, allocations: 263 kB / 1.122 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007929/0.8001, allocations: 374.5 kB / 1.122 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.8005, allocations: 235 kB / 1.122 GB, free: 304 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.993e-05/0.8006, allocations: 16 kB / 1.122 GB, free: 288 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.8017, allocations: 0.717 MB / 1.123 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.8019, allocations: 107.7 kB / 1.123 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.8021, allocations: 159.2 kB / 1.123 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009453/0.803, allocations: 0.5997 MB / 1.124 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.803, allocations: 0 / 1.124 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/0.803, allocations: 0 / 1.124 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.803, allocations: 0 / 1.124 GB, free: 14.7 MB / 0.8887 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.0009911/0.804, allocations: 0.6387 MB / 1.124 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.8041, allocations: 8.031 kB / 1.124 GB, free: 14 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.764e-05/0.8042, allocations: 66.48 kB / 1.124 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003813/0.8046, allocations: 59.53 kB / 1.125 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.805, allocations: 306.2 kB / 1.125 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.805, allocations: 16.44 kB / 1.125 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.8051, allocations: 27.94 kB / 1.125 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/0.8055, allocations: 296.6 kB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.8056, allocations: 3.938 kB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.8056, allocations: 12 kB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.8056, allocations: 7.984 kB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003713/0.806, allocations: 175.8 kB / 1.125 GB, free: 12.96 MB / 0.8887 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.001654/0.8077, allocations: 1.698 MB / 1.127 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.8079, allocations: 86.56 kB / 1.127 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.8081, allocations: 76.8 kB / 1.127 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/0.8084, allocations: 198.2 kB / 1.127 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.8084, allocations: 30.56 kB / 1.127 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.8084, allocations: 0 / 1.127 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0006941/0.8091, allocations: 233.1 kB / 1.128 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.8092, allocations: 51.41 kB / 1.128 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.8095, allocations: 316.5 kB / 1.128 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.8095, allocations: 29.7 kB / 1.128 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.8097, allocations: 203.7 kB / 1.128 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.8097, allocations: 35.55 kB / 1.128 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-05/0.8098, allocations: 49.62 kB / 1.128 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8099, allocations: 338.8 kB / 1.129 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.8101, allocations: 68.67 kB / 1.129 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.8103, allocations: 197.6 kB / 1.129 GB, free: 9.094 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.8107, allocations: 233.5 kB / 1.129 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8107, allocations: 0 / 1.129 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004788/0.8112, allocations: 264.8 kB / 1.129 GB, free: 8.551 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.8112, allocations: 8 kB / 1.129 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8112, allocations: 4 kB / 1.129 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.8112, allocations: 4 kB / 1.129 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.8114, allocations: 47.91 kB / 1.129 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.8114, allocations: 4 kB / 1.129 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.8117, allocations: 44.02 kB / 1.129 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.8118, allocations: 12 kB / 1.129 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002208/0.812, allocations: 172 kB / 1.13 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002255/0.8122, allocations: 198.7 kB / 1.13 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000322/0.8126, allocations: 225.5 kB / 1.13 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.8126, allocations: 4 kB / 1.13 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004485/0.813, allocations: 253.1 kB / 1.13 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.8131, allocations: 10.17 kB / 1.13 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.8131, allocations: 7.938 kB / 1.13 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.8131, allocations: 8.031 kB / 1.13 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.8133, allocations: 43.98 kB / 1.13 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.8133, allocations: 11.92 kB / 1.13 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.8135, allocations: 32.23 kB / 1.13 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.8136, allocations: 16 kB / 1.13 GB, free: 7.352 MB / 0.8887 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.0001127/0.8137, allocations: 188.2 kB / 1.131 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.8137, allocations: 39.56 kB / 1.131 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/0.8141, allocations: 160.4 kB / 1.131 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.8141, allocations: 4 kB / 1.131 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.8141, allocations: 0 / 1.131 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.8142, allocations: 7.922 kB / 1.131 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000862/0.815, allocations: 0.6093 MB / 1.131 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.815, allocations: 4 kB / 1.131 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.8152, allocations: 19.98 kB / 1.131 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.8152, allocations: 4 kB / 1.131 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.8152, allocations: 8 kB / 1.131 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.8152, allocations: 7.922 kB / 1.131 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8152, allocations: 7.938 kB / 1.131 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.8156, allocations: 297.3 kB / 1.132 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.8157, allocations: 112.8 kB / 1.132 GB, free: 5.754 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.8158, allocations: 8 kB / 1.132 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.816, allocations: 19.88 kB / 1.132 GB, free: 5.727 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.816, allocations: 15.94 kB / 1.132 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.816, allocations: 8 kB / 1.132 GB, free: 5.703 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002065/0.8163, allocations: 227 kB / 1.132 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.774e-06/0.8163, allocations: 0 / 1.132 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005842/0.8169, allocations: 139.7 kB / 1.132 GB, free: 5.348 MB / 0.8887 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.0009368/0.8178, allocations: 0.8969 MB / 1.133 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005641/0.8184, allocations: 249.4 kB / 1.133 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.8184, allocations: 4 kB / 1.133 GB, free: 4.16 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.8185, allocations: 68.02 kB / 1.133 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008357/0.8194, allocations: 118.8 kB / 1.133 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.8227, allocations: 2.883 MB / 1.136 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.823, allocations: 0.7756 MB / 1.137 GB, free: 80 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003232/0.8234, allocations: 83.22 kB / 1.137 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.8235, allocations: 87.36 kB / 1.137 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of SimCode: time 4.1e-07/0.8235, allocations: 0 / 1.137 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.733/3.556, allocations: 7.672 MB / 1.145 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/3.556, allocations: 248.2 kB / 1.145 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/5.555, allocations: 0 / 1.145 GB, free: 8.148 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches