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.001579/0.001579, 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.0021/0.0021, allocations: 194.2 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.386/2.386, allocations: 390.3 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 60.09 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6589/0.6611, allocations: 140.4 MB / 0.9497 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1648/0.826, allocations: 169.4 MB / 1.115 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007517/0.8335, allocations: 7.325 MB / 1.122 GB, free: 444 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004645/0.834, allocations: 11.94 kB / 1.122 GB, free: 432 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000667/0.8347, allocations: 210.6 kB / 1.123 GB, free: 220 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.8361, allocations: 0.5794 MB / 1.123 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.8371, allocations: 423.8 kB / 1.124 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007508/0.8379, allocations: 0.7051 MB / 1.124 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003765/0.8383, allocations: 279.1 kB / 1.124 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005665/0.8388, allocations: 374.5 kB / 1.125 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.8391, allocations: 211 kB / 1.125 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.8391, allocations: 23.94 kB / 1.125 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009881/0.8401, allocations: 0.7054 MB / 1.126 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.8402, allocations: 103.7 kB / 1.126 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.8404, allocations: 159.2 kB / 1.126 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.8411, allocations: 0.5647 MB / 1.127 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.8411, allocations: 0 / 1.127 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8411, allocations: 0 / 1.127 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.8411, allocations: 0 / 1.127 GB, free: 12.11 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.0007897/0.8419, allocations: 0.6349 MB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.8419, allocations: 12.03 kB / 1.127 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/0.842, allocations: 58.48 kB / 1.127 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.8423, allocations: 67.58 kB / 1.127 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.8427, allocations: 314 kB / 1.128 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.8427, allocations: 12.44 kB / 1.128 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.8427, allocations: 24 kB / 1.128 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.8432, allocations: 300.6 kB / 1.128 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.8432, allocations: 3.938 kB / 1.128 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.8432, allocations: 12 kB / 1.128 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.8432, allocations: 4 kB / 1.128 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.8436, allocations: 175.7 kB / 1.128 GB, free: 10.38 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.001407/0.845, allocations: 1.706 MB / 1.13 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.8452, allocations: 86.56 kB / 1.13 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.8454, allocations: 84.77 kB / 1.13 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/0.8457, allocations: 190.2 kB / 1.13 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.8457, allocations: 34.55 kB / 1.13 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.8457, allocations: 3.938 kB / 1.13 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0006259/0.8463, allocations: 229.1 kB / 1.13 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.8464, allocations: 55.41 kB / 1.13 GB, free: 7.801 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.8466, allocations: 316.5 kB / 1.131 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.8467, allocations: 25.7 kB / 1.131 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.8468, allocations: 199.7 kB / 1.131 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.8468, allocations: 35.55 kB / 1.131 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.8469, allocations: 49.61 kB / 1.131 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.847, allocations: 342.8 kB / 1.131 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.8472, allocations: 68.66 kB / 1.131 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.8474, allocations: 194.7 kB / 1.132 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.8477, allocations: 241.5 kB / 1.132 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8477, allocations: 0 / 1.132 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004443/0.8482, allocations: 256.8 kB / 1.132 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.8482, allocations: 8 kB / 1.132 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.8482, allocations: 7.984 kB / 1.132 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.8482, allocations: 4 kB / 1.132 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.8484, allocations: 51.86 kB / 1.132 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.8484, allocations: 4 kB / 1.132 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.8487, allocations: 44.12 kB / 1.132 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.8487, allocations: 8 kB / 1.132 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002185/0.8489, allocations: 172.1 kB / 1.132 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002196/0.8491, allocations: 189.1 kB / 1.133 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003307/0.8495, allocations: 229.5 kB / 1.133 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.8495, allocations: 3.938 kB / 1.133 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004252/0.8499, allocations: 260.8 kB / 1.133 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.8499, allocations: 4 kB / 1.133 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.8499, allocations: 4.281 kB / 1.133 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.85, allocations: 8 kB / 1.133 GB, free: 4.859 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.8501, allocations: 43.91 kB / 1.133 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.8501, allocations: 8 kB / 1.133 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.8504, allocations: 32.2 kB / 1.133 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.8504, allocations: 16 kB / 1.133 GB, free: 4.762 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 8.986e-05/0.8505, allocations: 192.2 kB / 1.133 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.8505, allocations: 35.55 kB / 1.133 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.8509, allocations: 172.3 kB / 1.134 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.8509, allocations: 4 kB / 1.134 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.8509, allocations: 0 / 1.134 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8509, allocations: 4 kB / 1.134 GB, free: 4.352 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008066/0.8517, allocations: 0.6016 MB / 1.134 GB, free: 3.672 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8518, allocations: 3.938 kB / 1.134 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.8519, allocations: 23.98 kB / 1.134 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.8519, allocations: 7.984 kB / 1.134 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.8519, allocations: 7.938 kB / 1.134 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8519, allocations: 4 kB / 1.134 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.8519, allocations: 7.938 kB / 1.134 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.8523, allocations: 293.2 kB / 1.134 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.8524, allocations: 112.8 kB / 1.135 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.996e-05/0.8524, allocations: 11.98 kB / 1.135 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.8526, allocations: 11.98 kB / 1.135 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.8526, allocations: 11.94 kB / 1.135 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.8527, allocations: 4 kB / 1.135 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001896/0.8529, allocations: 227 kB / 1.135 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8529, allocations: 0 / 1.135 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005269/0.8534, allocations: 143.7 kB / 1.135 GB, free: 2.766 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.0007982/0.8542, allocations: 0.8958 MB / 1.136 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005171/0.8547, allocations: 244.8 kB / 1.136 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8547, allocations: 0 / 1.136 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.8549, allocations: 65.11 kB / 1.136 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/0.8556, allocations: 138.2 kB / 1.136 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.8586, allocations: 2.817 MB / 1.139 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.8589, allocations: 0.7678 MB / 1.14 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002575/0.8592, allocations: 86.89 kB / 1.14 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.8593, allocations: 87.41 kB / 1.14 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of SimCode: time 3.3e-07/0.8593, allocations: 0 / 1.14 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.417/2.276, allocations: 7.818 MB / 1.148 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/14.71, allocations: 15.69 kB / 1.148 GB, free: 5.707 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