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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008261/0.000826, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005263/0.005263, allocations: 170 kB / 16.26 MB, free: 6.613 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.2/1.2, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003217, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6541/0.6544, allocations: 142.4 MB / 0.9552 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1905/0.8449, allocations: 165 MB / 1.116 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008233/0.8532, allocations: 7.247 MB / 1.123 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.8535, allocations: 11.94 kB / 1.123 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.8541, allocations: 167 kB / 1.124 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.8553, allocations: 0.5486 MB / 1.124 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009301/0.8562, allocations: 392.9 kB / 1.124 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.8573, allocations: 1.025 MB / 1.125 GB, free: 296 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.8576, allocations: 218.4 kB / 1.126 GB, free: 76 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005907/0.8582, allocations: 338.6 kB / 1.126 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.8585, allocations: 219 kB / 1.126 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.8586, allocations: 12 kB / 1.126 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.8597, allocations: 0.7794 MB / 1.127 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.8598, allocations: 99.69 kB / 1.127 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.86, allocations: 164.9 kB / 1.127 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007138/0.8607, allocations: 0.5841 MB / 1.128 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.8607, allocations: 4 kB / 1.128 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8607, allocations: 0 / 1.128 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.8607, allocations: 0 / 1.128 GB, free: 13.88 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.000768/0.8615, allocations: 0.5816 MB / 1.128 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.8615, allocations: 8.031 kB / 1.128 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.731e-05/0.8616, allocations: 58.48 kB / 1.128 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003297/0.862, allocations: 71.48 kB / 1.129 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.8623, allocations: 298.2 kB / 1.129 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.8624, allocations: 20.44 kB / 1.129 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.8624, allocations: 27.94 kB / 1.129 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.8629, allocations: 304.6 kB / 1.129 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.8629, allocations: 11.86 kB / 1.129 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.8629, allocations: 8 kB / 1.129 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.863, allocations: 4 kB / 1.129 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.8634, allocations: 187.8 kB / 1.129 GB, free: 12.18 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.001635/0.8651, allocations: 1.706 MB / 1.131 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.8653, allocations: 94.5 kB / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.8655, allocations: 84.8 kB / 1.131 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003011/0.8658, allocations: 194.2 kB / 1.131 GB, free: 9.941 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.8658, allocations: 34.56 kB / 1.131 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.8658, allocations: 0 / 1.131 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0006809/0.8665, allocations: 237.1 kB / 1.132 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.8666, allocations: 55.41 kB / 1.132 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.8669, allocations: 324.5 kB / 1.132 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.263e-05/0.867, allocations: 29.7 kB / 1.132 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.8671, allocations: 199.8 kB / 1.132 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.8672, allocations: 35.45 kB / 1.132 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.8672, allocations: 25.72 kB / 1.132 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.8673, allocations: 338.8 kB / 1.133 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.8675, allocations: 55.97 kB / 1.133 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.8678, allocations: 209 kB / 1.133 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.8682, allocations: 245.4 kB / 1.133 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.8682, allocations: 7.938 kB / 1.133 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000483/0.8687, allocations: 264.8 kB / 1.133 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.8689, allocations: 194.2 kB / 1.134 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.8689, allocations: 4 kB / 1.134 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.8689, allocations: 8 kB / 1.134 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.8691, allocations: 47.91 kB / 1.134 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.8691, allocations: 8 kB / 1.134 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.8694, allocations: 47.66 kB / 1.134 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.8694, allocations: 16 kB / 1.134 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/0.8694, allocations: 4 kB / 1.134 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004193/0.8699, allocations: 203.5 kB / 1.134 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.8699, allocations: 7.938 kB / 1.134 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.618e-06/0.8699, allocations: 4 kB / 1.134 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.87, allocations: 60.31 kB / 1.134 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.8701, allocations: 7.938 kB / 1.134 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.8703, allocations: 31.81 kB / 1.134 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.8703, allocations: 16 kB / 1.134 GB, free: 7.043 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.0001614/0.8705, allocations: 229 kB / 1.134 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.8706, allocations: 31.56 kB / 1.134 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.8709, allocations: 184.6 kB / 1.134 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.871, allocations: 0 / 1.134 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.871, allocations: 0 / 1.134 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.871, allocations: 7.984 kB / 1.134 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009808/0.872, allocations: 0.6172 MB / 1.135 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.872, allocations: 0 / 1.135 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.8721, allocations: 31.92 kB / 1.135 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.8721, allocations: 0 / 1.135 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.8721, allocations: 8 kB / 1.135 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.8721, allocations: 4 kB / 1.135 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.8721, allocations: 0 / 1.135 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.8726, allocations: 321.7 kB / 1.135 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.8727, allocations: 112.7 kB / 1.135 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.8727, allocations: 8 kB / 1.135 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.8729, allocations: 27.92 kB / 1.136 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.873, allocations: 15.92 kB / 1.136 GB, free: 5.316 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.873, allocations: 4 kB / 1.136 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002062/0.8732, allocations: 227 kB / 1.136 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8732, allocations: 0 / 1.136 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005462/0.8738, allocations: 131.8 kB / 1.136 GB, free: 4.965 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.0009512/0.8747, allocations: 0.9244 MB / 1.137 GB, free: 3.996 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005875/0.8753, allocations: 253.1 kB / 1.137 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8753, allocations: 8.062 kB / 1.137 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.8755, allocations: 72.44 kB / 1.137 GB, free: 3.672 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009542/0.8765, allocations: 131.8 kB / 1.137 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.8798, allocations: 2.924 MB / 1.14 GB, free: 420 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.8802, allocations: 0.7719 MB / 1.141 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002777/0.8805, allocations: 90.95 kB / 1.141 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.8806, allocations: 87.41 kB / 1.141 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.8806, allocations: 0 / 1.141 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.8991, allocations: 7.476 MB / 1.148 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.8993, allocations: 227.5 kB / 1.149 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/3.08, allocations: 0 / 1.149 GB, free: 7.895 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