Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_10_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.001964/0.001964, 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.002071/0.002071, 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.389/1.389, 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 10.1.1-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002394, allocations: 67.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6435/0.6459, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1745/0.8205, allocations: 167.4 MB / 1.181 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002698/0.8232, allocations: 1.543 MB / 1.182 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.8235, allocations: 15.88 kB / 1.182 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.824, allocations: 146.9 kB / 1.183 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.8258, allocations: 0.7078 MB / 1.183 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.8274, allocations: 0.5997 MB / 1.184 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008989/0.8283, allocations: 0.7051 MB / 1.184 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004191/0.8287, allocations: 229.1 kB / 1.185 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006737/0.8294, allocations: 326.8 kB / 1.185 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.8297, allocations: 227 kB / 1.185 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.8297, allocations: 24 kB / 1.185 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.8315, allocations: 0.8573 MB / 1.186 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.8316, allocations: 115.6 kB / 1.186 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.8318, allocations: 163.2 kB / 1.186 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009883/0.8328, allocations: 0.713 MB / 1.187 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.8328, allocations: 4 kB / 1.187 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8328, allocations: 0 / 1.187 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.8328, allocations: 0 / 1.187 GB, free: 4.129 MB / 0.9356 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.0009926/0.8338, allocations: 0.6388 MB / 1.188 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.8339, allocations: 8.031 kB / 1.188 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.852e-05/0.8339, allocations: 66.53 kB / 1.188 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.8351, allocations: 159.3 kB / 1.188 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.8355, allocations: 301.7 kB / 1.188 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.8356, allocations: 16.44 kB / 1.188 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.8356, allocations: 20 kB / 1.188 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.8361, allocations: 283.4 kB / 1.188 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.8361, allocations: 0 / 1.188 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.8361, allocations: 8 kB / 1.188 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.8362, allocations: 8 kB / 1.189 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.8366, allocations: 199.7 kB / 1.189 GB, free: 2.324 MB / 0.9356 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.001361/0.838, allocations: 1.217 MB / 1.19 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.8382, allocations: 138.5 kB / 1.19 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.8384, allocations: 88.81 kB / 1.19 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006401/0.8391, allocations: 307.2 kB / 1.19 GB, free: 424 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.8391, allocations: 34.56 kB / 1.19 GB, free: 380 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 2.013e-06/0.8391, allocations: 0 / 1.19 GB, free: 380 kB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0007707/0.8399, allocations: 285.4 kB / 1.191 GB, free: 88 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.84, allocations: 55.41 kB / 1.191 GB, free: 20 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.8403, allocations: 316.5 kB / 1.191 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.8403, allocations: 29.7 kB / 1.191 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.8405, allocations: 176.2 kB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.172e-05/0.8405, allocations: 63.17 kB / 1.191 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.8406, allocations: 45.7 kB / 1.191 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.8407, allocations: 338.8 kB / 1.192 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.8409, allocations: 59.95 kB / 1.192 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.8411, allocations: 126.7 kB / 1.192 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.8415, allocations: 192.2 kB / 1.192 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.8415, allocations: 4 kB / 1.192 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004741/0.842, allocations: 253.1 kB / 1.192 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.842, allocations: 4 kB / 1.192 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.8421, allocations: 0 / 1.192 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.8421, allocations: 4 kB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.8423, allocations: 35.98 kB / 1.192 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.8423, allocations: 11.92 kB / 1.192 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.8425, allocations: 27.69 kB / 1.192 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.8425, allocations: 11.98 kB / 1.192 GB, free: 14.28 MB / 0.9512 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.0001407/0.8427, allocations: 157.9 kB / 1.193 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.8428, allocations: 23.72 kB / 1.193 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.8432, allocations: 218 kB / 1.193 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.8433, allocations: 4 kB / 1.193 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.8433, allocations: 0 / 1.193 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8433, allocations: 0 / 1.193 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.8443, allocations: 0.6834 MB / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.8444, allocations: 8.219 kB / 1.193 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.8446, allocations: 35.91 kB / 1.193 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.8446, allocations: 7.938 kB / 1.193 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.8446, allocations: 0 / 1.193 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.8446, allocations: 8 kB / 1.193 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.8446, allocations: 4 kB / 1.193 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006527/0.8453, allocations: 428.9 kB / 1.194 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.8454, allocations: 128.6 kB / 1.194 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.8455, allocations: 16.05 kB / 1.194 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.8456, allocations: 4 kB / 1.194 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.8457, allocations: 19.92 kB / 1.194 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.8457, allocations: 4 kB / 1.194 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000219/0.8459, allocations: 227 kB / 1.194 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.846, allocations: 0 / 1.194 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004059/0.8464, allocations: 80 kB / 1.194 GB, free: 12.11 MB / 0.9512 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.001205/0.8476, allocations: 1.038 MB / 1.195 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004535/0.848, allocations: 183.7 kB / 1.196 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8481, allocations: 0 / 1.196 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.8483, allocations: 87.81 kB / 1.196 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009467/0.8492, allocations: 170.6 kB / 1.196 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.8529, allocations: 2.898 MB / 1.199 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.8533, allocations: 0.7834 MB / 1.199 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002416/0.8535, allocations: 62.94 kB / 1.199 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.8537, allocations: 87.41 kB / 1.2 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/0.8537, allocations: 0 / 1.2 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.8815, allocations: 8.744 MB / 1.208 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/8.642, allocations: 13.86 kB / 1.208 GB, free: 14 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_10_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches