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.001201/0.001201, allocations: 108 kB / 15.6 MB, free: 132 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.001167/0.001167, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.584/2.584, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001945, allocations: 76.91 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.27, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1835/0.4536, allocations: 169.5 MB / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009619/0.4632, allocations: 7.315 MB / 1.237 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004728/0.4637, allocations: 7.938 kB / 1.237 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000728/0.4645, allocations: 214.6 kB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.466, allocations: 0.5755 MB / 1.237 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.4673, allocations: 431.4 kB / 1.238 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.4683, allocations: 0.7051 MB / 1.239 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004796/0.4688, allocations: 266.9 kB / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000785/0.4696, allocations: 386.5 kB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.47, allocations: 211.1 kB / 1.239 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.47, allocations: 20 kB / 1.239 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.4713, allocations: 0.7015 MB / 1.24 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.4714, allocations: 111.6 kB / 1.24 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.4716, allocations: 159.2 kB / 1.24 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009433/0.4726, allocations: 0.557 MB / 1.241 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.4726, allocations: 0 / 1.241 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4726, allocations: 0 / 1.241 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.4726, allocations: 0 / 1.241 GB, free: 8.422 MB / 0.9981 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.0009836/0.4736, allocations: 0.6504 MB / 1.242 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.4737, allocations: 12.03 kB / 1.242 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.386e-05/0.4737, allocations: 58.48 kB / 1.242 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003509/0.4741, allocations: 59.58 kB / 1.242 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.4745, allocations: 314 kB / 1.242 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.4746, allocations: 12.44 kB / 1.242 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.4746, allocations: 28 kB / 1.242 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.4751, allocations: 296.6 kB / 1.242 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4751, allocations: 7.938 kB / 1.242 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.4752, allocations: 12 kB / 1.242 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.4752, allocations: 8 kB / 1.242 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003947/0.4756, allocations: 179.5 kB / 1.242 GB, free: 6.668 MB / 0.9981 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.001772/0.4774, allocations: 1.694 MB / 1.244 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.4776, allocations: 86.56 kB / 1.244 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.4778, allocations: 80.78 kB / 1.244 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/0.4781, allocations: 190.1 kB / 1.244 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.4782, allocations: 42.48 kB / 1.245 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.4782, allocations: 0 / 1.245 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0006988/0.4789, allocations: 217.3 kB / 1.245 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.4789, allocations: 51.41 kB / 1.245 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.4793, allocations: 324.5 kB / 1.245 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.4793, allocations: 33.64 kB / 1.245 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.4795, allocations: 191.9 kB / 1.245 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.4795, allocations: 43.39 kB / 1.245 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/0.4796, allocations: 49.61 kB / 1.245 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.4797, allocations: 338.8 kB / 1.246 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.4799, allocations: 60.81 kB / 1.246 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.4802, allocations: 209 kB / 1.246 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.4806, allocations: 229.5 kB / 1.246 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.4806, allocations: 4 kB / 1.246 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004796/0.4811, allocations: 253.2 kB / 1.246 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.4811, allocations: 8.031 kB / 1.246 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.4811, allocations: 7.984 kB / 1.246 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4811, allocations: 4 kB / 1.246 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.4813, allocations: 43.92 kB / 1.247 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.4813, allocations: 4 kB / 1.247 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.4816, allocations: 39.72 kB / 1.247 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.4816, allocations: 16 kB / 1.247 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002368/0.4818, allocations: 171.9 kB / 1.247 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002565/0.4821, allocations: 203.7 kB / 1.247 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003585/0.4825, allocations: 229.6 kB / 1.247 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.4825, allocations: 0 / 1.247 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004776/0.483, allocations: 257.1 kB / 1.247 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.483, allocations: 12.03 kB / 1.247 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.483, allocations: 4 kB / 1.247 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-06/0.483, allocations: 4 kB / 1.247 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.4832, allocations: 51.91 kB / 1.247 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4832, allocations: 4 kB / 1.247 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.4834, allocations: 23.92 kB / 1.247 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.4835, allocations: 12 kB / 1.247 GB, free: 1.074 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 0.000118/0.4836, allocations: 200.7 kB / 1.248 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.4836, allocations: 39.56 kB / 1.248 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.484, allocations: 172.3 kB / 1.248 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.484, allocations: 0 / 1.248 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4841, allocations: 0 / 1.248 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.4841, allocations: 0 / 1.248 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4061/0.8902, allocations: 0.595 MB / 1.248 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.8902, allocations: 2.453 kB / 1.248 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.8904, allocations: 27.62 kB / 1.248 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.8904, allocations: 4.203 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.8904, allocations: 2.438 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.8904, allocations: 4.953 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.8905, allocations: 8.906 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.8909, allocations: 306.3 kB / 1.249 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.891, allocations: 113.8 kB / 1.249 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.891, allocations: 8.062 kB / 1.249 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.8912, allocations: 16.97 kB / 1.249 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.8913, allocations: 12.81 kB / 1.249 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.8913, allocations: 6.969 kB / 1.249 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002366/0.8915, allocations: 226.4 kB / 1.249 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8916, allocations: 3.938 kB / 1.249 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005963/0.8922, allocations: 133.6 kB / 1.249 GB, free: 189.1 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.0007946/0.893, allocations: 0.8952 MB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005734/0.8935, allocations: 252 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.8936, allocations: 4.469 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.8937, allocations: 71.66 kB / 1.25 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007694/0.8945, allocations: 120 kB / 1.251 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.8973, allocations: 2.806 MB / 1.253 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.8976, allocations: 0.7738 MB / 1.254 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002842/0.8978, allocations: 83.02 kB / 1.254 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.898, allocations: 92.67 kB / 1.254 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.898, allocations: 0 / 1.254 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.9284, allocations: 7.832 MB / 1.262 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.473/9.402, allocations: 7.359 kB / 1.262 GB, free: 185.2 MB / 0.9981 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