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.008542/0.008541, allocations: 102.7 kB / 15.73 MB, free: 6.445 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.001984/0.001984, allocations: 195.7 kB / 16.68 MB, free: 6.355 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.277 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.268/2.268, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.42 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3053, allocations: 140.4 MB / 1.087 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1798/0.4851, allocations: 169.5 MB / 1.253 GB, free: 7.852 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008271/0.4934, allocations: 7.32 MB / 1.26 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005155/0.494, allocations: 11.88 kB / 1.26 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.4947, allocations: 210.6 kB / 1.26 GB, free: 300 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.6629/1.158, allocations: 0.5679 MB / 1.261 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/1.159, allocations: 436.6 kB / 1.261 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001108/1.16, allocations: 0.6976 MB / 1.262 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004767/1.161, allocations: 270.7 kB / 1.262 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000785/1.161, allocations: 386.9 kB / 1.263 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/1.162, allocations: 214.5 kB / 1.263 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/1.162, allocations: 18.25 kB / 1.263 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/1.163, allocations: 0.7048 MB / 1.264 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/1.164, allocations: 106.6 kB / 1.264 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002237/1.164, allocations: 156.2 kB / 1.264 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/1.165, allocations: 0.5735 MB / 1.264 GB, free: 3.371 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/1.165, allocations: 2.219 kB / 1.264 GB, free: 3.371 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.783e-06/1.165, allocations: 0 / 1.264 GB, free: 3.371 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.269e-05/1.165, allocations: 0.7188 kB / 1.264 GB, free: 3.371 MB / 1.014 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.0009261/1.166, allocations: 0.6398 MB / 1.265 GB, free: 2.887 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.166, allocations: 11.12 kB / 1.265 GB, free: 2.887 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.605e-05/1.166, allocations: 59.45 kB / 1.265 GB, free: 2.848 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003586/1.166, allocations: 61 kB / 1.265 GB, free: 2.832 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/1.167, allocations: 321.8 kB / 1.265 GB, free: 2.598 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/1.167, allocations: 18.25 kB / 1.265 GB, free: 2.598 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/1.167, allocations: 24.62 kB / 1.265 GB, free: 2.598 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/1.168, allocations: 301 kB / 1.266 GB, free: 2.477 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.168, allocations: 3.047 kB / 1.266 GB, free: 2.477 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/1.168, allocations: 10.34 kB / 1.266 GB, free: 2.477 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/1.168, allocations: 8.891 kB / 1.266 GB, free: 2.477 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/1.168, allocations: 173.8 kB / 1.266 GB, free: 2.477 MB / 1.014 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.001708/1.17, allocations: 1.704 MB / 1.268 GB, free: 17.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/1.17, allocations: 90.39 kB / 1.268 GB, free: 17.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/1.17, allocations: 79.33 kB / 1.268 GB, free: 17.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/1.17, allocations: 186.5 kB / 1.268 GB, free: 16.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/1.171, allocations: 35.16 kB / 1.268 GB, free: 16.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/1.171, allocations: 1.625 kB / 1.268 GB, free: 16.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0007126/1.171, allocations: 219.5 kB / 1.268 GB, free: 16.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/1.171, allocations: 56.81 kB / 1.268 GB, free: 16.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/1.172, allocations: 324.6 kB / 1.269 GB, free: 16.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/1.172, allocations: 30.61 kB / 1.269 GB, free: 16.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/1.172, allocations: 197.1 kB / 1.269 GB, free: 16.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/1.172, allocations: 41.78 kB / 1.269 GB, free: 16.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-05/1.172, allocations: 49.72 kB / 1.269 GB, free: 16.51 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.172, allocations: 338.9 kB / 1.269 GB, free: 16.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/1.172, allocations: 58.16 kB / 1.269 GB, free: 16.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/1.173, allocations: 199.4 kB / 1.269 GB, free: 16.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/1.173, allocations: 234.1 kB / 1.27 GB, free: 15.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.173, allocations: 0.6562 kB / 1.27 GB, free: 15.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005234/1.173, allocations: 255.9 kB / 1.27 GB, free: 15.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.173, allocations: 6.844 kB / 1.27 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.173, allocations: 3.969 kB / 1.27 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/1.173, allocations: 7.406 kB / 1.27 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/1.174, allocations: 45.2 kB / 1.27 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/1.174, allocations: 13.25 kB / 1.27 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/1.174, allocations: 39.69 kB / 1.27 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/1.174, allocations: 15.5 kB / 1.27 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002573/1.174, allocations: 168.7 kB / 1.27 GB, free: 15.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002407/1.175, allocations: 195.8 kB / 1.27 GB, free: 15.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003388/1.175, allocations: 230.4 kB / 1.271 GB, free: 15.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.335e-06/1.175, allocations: 1.844 kB / 1.271 GB, free: 15.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004962/1.175, allocations: 254 kB / 1.271 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/1.175, allocations: 7.516 kB / 1.271 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.175, allocations: 7.906 kB / 1.271 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/1.175, allocations: 5.969 kB / 1.271 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/1.176, allocations: 45.58 kB / 1.271 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/1.176, allocations: 7.234 kB / 1.271 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/1.176, allocations: 30 kB / 1.271 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/1.176, allocations: 14.81 kB / 1.271 GB, free: 15.42 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.0001375/1.176, allocations: 201.2 kB / 1.271 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/1.176, allocations: 30.52 kB / 1.271 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/1.177, allocations: 162.9 kB / 1.271 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/1.177, allocations: 2.203 kB / 1.271 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.177, allocations: 8.875 kB / 1.271 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.177, allocations: 0.7969 kB / 1.271 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/1.178, allocations: 0.6124 MB / 1.272 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.178, allocations: 2.438 kB / 1.272 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/1.178, allocations: 27.44 kB / 1.272 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.178, allocations: 2.312 kB / 1.272 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/1.178, allocations: 4.375 kB / 1.272 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/1.178, allocations: 2.844 kB / 1.272 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.178, allocations: 6.25 kB / 1.272 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/1.178, allocations: 308.1 kB / 1.272 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/1.178, allocations: 115.3 kB / 1.272 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/1.178, allocations: 3.703 kB / 1.272 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/1.179, allocations: 13.81 kB / 1.272 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/1.179, allocations: 16.67 kB / 1.272 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/1.179, allocations: 5.5 kB / 1.272 GB, free: 14.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002615/1.179, allocations: 225.8 kB / 1.273 GB, free: 14.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/1.179, allocations: 0.75 kB / 1.273 GB, free: 14.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000683/1.18, allocations: 132.8 kB / 1.273 GB, free: 14.42 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.001001/1.181, allocations: 0.905 MB / 1.274 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006757/1.181, allocations: 248.8 kB / 1.274 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.181, allocations: 1.75 kB / 1.274 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/1.182, allocations: 64.11 kB / 1.274 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/1.182, allocations: 124.2 kB / 1.274 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/1.187, allocations: 2.789 MB / 1.277 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/1.187, allocations: 0.7745 MB / 1.277 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003708/1.188, allocations: 94.34 kB / 1.278 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/1.188, allocations: 90.5 kB / 1.278 GB, free: 11.31 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/1.188, allocations: 0.7812 kB / 1.278 GB, free: 11.31 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/1.221, allocations: 8.015 MB / 1.286 GB, free: 10.67 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/9.006, allocations: 10.91 kB / 1.286 GB, free: 10.67 MB / 1.029 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