Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.001107/0.001108, allocations: 108 kB / 15.61 MB, free: 152 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.001154/0.001154, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.247/1.247, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.075/2.075, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 63.91 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.495/0.4961, allocations: 140.3 MB / 0.9497 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1554/0.6516, allocations: 167.4 MB / 1.113 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.6538, allocations: 1.565 MB / 1.115 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.654, allocations: 11.94 kB / 1.115 GB, free: 8.328 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003576/0.6544, allocations: 146.9 kB / 1.115 GB, free: 8.184 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.6556, allocations: 0.7039 MB / 1.116 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.6567, allocations: 0.5955 MB / 1.116 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005924/0.6573, allocations: 0.7013 MB / 1.117 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.6576, allocations: 233 kB / 1.117 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004419/0.658, allocations: 330.7 kB / 1.117 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.6583, allocations: 219.1 kB / 1.118 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.6583, allocations: 24 kB / 1.118 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.6594, allocations: 0.865 MB / 1.118 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.6596, allocations: 103.7 kB / 1.118 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.6597, allocations: 163.2 kB / 1.119 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007928/0.6605, allocations: 0.713 MB / 1.119 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6605, allocations: 4 kB / 1.119 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6605, allocations: 0 / 1.119 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.6605, allocations: 4 kB / 1.119 GB, free: 3.535 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007951/0.6613, allocations: 0.6427 MB / 1.12 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.6614, allocations: 8.031 kB / 1.12 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.96e-05/0.6614, allocations: 58.48 kB / 1.12 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.6625, allocations: 163.3 kB / 1.12 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.6628, allocations: 313.6 kB / 1.12 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.6628, allocations: 16.44 kB / 1.121 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.6629, allocations: 24 kB / 1.121 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.6633, allocations: 275.4 kB / 1.121 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.6633, allocations: 8 kB / 1.121 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.6633, allocations: 8 kB / 1.121 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.6634, allocations: 8 kB / 1.121 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.6637, allocations: 195.8 kB / 1.121 GB, free: 1.715 MB / 0.8731 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.001182/0.6649, allocations: 1.209 MB / 1.122 GB, free: 412 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.6652, allocations: 138.5 kB / 1.122 GB, free: 264 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.6654, allocations: 92.75 kB / 1.122 GB, free: 168 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005757/0.6659, allocations: 311.2 kB / 1.123 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.666, allocations: 30.56 kB / 1.123 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.666, allocations: 0 / 1.123 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.000693/0.6667, allocations: 281.5 kB / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.6667, allocations: 55.41 kB / 1.123 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.667, allocations: 312.5 kB / 1.123 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.667, allocations: 33.7 kB / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.6671, allocations: 184.1 kB / 1.124 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.6672, allocations: 51.2 kB / 1.124 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.6673, allocations: 41.7 kB / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6674, allocations: 342.8 kB / 1.124 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.6675, allocations: 67.89 kB / 1.124 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.6677, allocations: 126 kB / 1.124 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.6681, allocations: 185 kB / 1.124 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6681, allocations: 0 / 1.124 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004218/0.6685, allocations: 245.2 kB / 1.125 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.6685, allocations: 4 kB / 1.125 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.6685, allocations: 0 / 1.125 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.6685, allocations: 4 kB / 1.125 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.6687, allocations: 47.91 kB / 1.125 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.6688, allocations: 4 kB / 1.125 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.6689, allocations: 31.67 kB / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.669, allocations: 11.94 kB / 1.125 GB, free: 13.69 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001293/0.6691, allocations: 157.7 kB / 1.125 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.6691, allocations: 23.72 kB / 1.125 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/0.6696, allocations: 218.6 kB / 1.125 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6696, allocations: 4 kB / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6696, allocations: 0 / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6696, allocations: 0 / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000894/0.6705, allocations: 0.6911 MB / 1.126 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6705, allocations: 4 kB / 1.126 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.6707, allocations: 32.2 kB / 1.126 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.6707, allocations: 3.938 kB / 1.126 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.6707, allocations: 8 kB / 1.126 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.6707, allocations: 7.938 kB / 1.126 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6707, allocations: 4 kB / 1.126 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.6713, allocations: 428.9 kB / 1.126 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.6714, allocations: 128.8 kB / 1.126 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.6715, allocations: 7.984 kB / 1.126 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.6716, allocations: 12.06 kB / 1.126 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.6717, allocations: 11.98 kB / 1.126 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.6717, allocations: 8 kB / 1.126 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001913/0.6719, allocations: 227 kB / 1.127 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6719, allocations: 0 / 1.127 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003378/0.6722, allocations: 79.89 kB / 1.127 GB, free: 11.51 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.00103/0.6733, allocations: 1.034 MB / 1.128 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003865/0.6737, allocations: 179.8 kB / 1.128 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6737, allocations: 0 / 1.128 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.6739, allocations: 87.83 kB / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000804/0.6747, allocations: 164.2 kB / 1.128 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.6778, allocations: 2.921 MB / 1.131 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.6781, allocations: 0.7795 MB / 1.132 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000197/0.6783, allocations: 62.92 kB / 1.132 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.6785, allocations: 91.41 kB / 1.132 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of SimCode: time 2.21e-07/0.6785, allocations: 0 / 1.132 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8526/1.531, allocations: 8.751 MB / 1.14 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/14.05, allocations: 20.2 kB / 1.14 GB, free: 13.39 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches