Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_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.004759/0.004759, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001327/0.001327, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.128/3.128, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 64.12 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2975, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7553/1.053, allocations: 167.4 MB / 1.405 GB, free: 8.547 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.003234/1.056, allocations: 1.562 MB / 1.406 GB, free: 7.273 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00047/1.057, allocations: 11.69 kB / 1.406 GB, free: 7.27 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005575/1.057, allocations: 143.6 kB / 1.407 GB, free: 7.145 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00224/1.059, allocations: 0.7016 MB / 1.407 GB, free: 6.609 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/1.061, allocations: 0.596 MB / 1.408 GB, free: 6.176 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0009447/1.062, allocations: 0.6927 MB / 1.409 GB, free: 5.777 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003994/1.063, allocations: 235.8 kB / 1.409 GB, free: 5.633 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/1.064, allocations: 477.7 kB / 1.409 GB, free: 5.355 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/1.064, allocations: 212.4 kB / 1.409 GB, free: 5.23 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/1.064, allocations: 26.09 kB / 1.409 GB, free: 5.227 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/1.066, allocations: 0.8662 MB / 1.41 GB, free: 4.734 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/1.066, allocations: 105.9 kB / 1.41 GB, free: 4.664 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002034/1.066, allocations: 170 kB / 1.411 GB, free: 4.559 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/1.067, allocations: 0.7167 MB / 1.411 GB, free: 4.137 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/1.067, allocations: 0 / 1.411 GB, free: 4.137 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.633e-06/1.067, allocations: 0 / 1.411 GB, free: 4.137 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.713e-06/1.067, allocations: 0 / 1.411 GB, free: 4.137 MB / 1.107 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.0009295/1.068, allocations: 0.6599 MB / 1.412 GB, free: 3.547 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/1.068, allocations: 9.25 kB / 1.412 GB, free: 3.547 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.476e-05/1.068, allocations: 58.56 kB / 1.412 GB, free: 3.488 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/1.069, allocations: 159.1 kB / 1.412 GB, free: 3.41 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/1.07, allocations: 325.8 kB / 1.412 GB, free: 3.102 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/1.07, allocations: 18.39 kB / 1.412 GB, free: 3.094 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/1.07, allocations: 26.56 kB / 1.412 GB, free: 3.082 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/1.07, allocations: 280 kB / 1.413 GB, free: 2.895 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.07, allocations: 5.062 kB / 1.413 GB, free: 2.891 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/1.07, allocations: 6.188 kB / 1.413 GB, free: 2.887 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/1.071, allocations: 5.375 kB / 1.413 GB, free: 2.887 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/1.071, allocations: 193.6 kB / 1.413 GB, free: 2.801 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/1.072, allocations: 1.203 MB / 1.414 GB, free: 1.688 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/1.073, allocations: 142.2 kB / 1.414 GB, free: 1.602 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/1.073, allocations: 94.17 kB / 1.414 GB, free: 1.555 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000608/1.074, allocations: 298.3 kB / 1.415 GB, free: 1.25 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/1.074, allocations: 43.78 kB / 1.415 GB, free: 1.199 MB / 1.107 GB Notification: Performance of pre-optimization done (n=15): time 3.517e-06/1.074, allocations: 3.984 kB / 1.415 GB, free: 1.195 MB / 1.107 GB Notification: Performance of matching and sorting (n=15): time 0.000804/1.074, allocations: 276.7 kB / 1.415 GB, free: 1.055 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/1.074, allocations: 53.62 kB / 1.415 GB, free: 0.9922 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/1.075, allocations: 316.5 kB / 1.415 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/1.075, allocations: 34.89 kB / 1.415 GB, free: 0.75 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/1.075, allocations: 183.7 kB / 1.416 GB, free: 0.582 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/1.075, allocations: 55.34 kB / 1.416 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.254e-05/1.075, allocations: 46.08 kB / 1.416 GB, free: 0.5 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.075, allocations: 342.5 kB / 1.416 GB, free: 168 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/1.076, allocations: 62.23 kB / 1.416 GB, free: 140 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/1.076, allocations: 135.6 kB / 1.416 GB, free: 36 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/1.076, allocations: 182.8 kB / 1.416 GB, free: 15.91 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.076, allocations: 5.406 kB / 1.416 GB, free: 15.91 MB / 1.123 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004895/1.077, allocations: 237.4 kB / 1.417 GB, free: 15.78 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.077, allocations: 6.219 kB / 1.417 GB, free: 15.78 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.077, allocations: 1.219 kB / 1.417 GB, free: 15.78 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/1.077, allocations: 2.719 kB / 1.417 GB, free: 15.78 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/1.077, allocations: 47.81 kB / 1.417 GB, free: 15.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.077, allocations: 2.125 kB / 1.417 GB, free: 15.77 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/1.077, allocations: 37.64 kB / 1.417 GB, free: 15.74 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/1.077, allocations: 11.62 kB / 1.417 GB, free: 15.73 MB / 1.123 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.0001656/1.077, allocations: 156 kB / 1.417 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/1.077, allocations: 31.84 kB / 1.417 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/1.078, allocations: 217 kB / 1.417 GB, free: 15.44 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/1.078, allocations: 2.719 kB / 1.417 GB, free: 15.44 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.078, allocations: 4 kB / 1.417 GB, free: 15.43 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.078, allocations: 0 / 1.417 GB, free: 15.43 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/1.079, allocations: 0.6908 MB / 1.418 GB, free: 14.85 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.079, allocations: 2.219 kB / 1.418 GB, free: 14.85 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/1.079, allocations: 31.58 kB / 1.418 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/1.079, allocations: 6.562 kB / 1.418 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/1.079, allocations: 3.562 kB / 1.418 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.079, allocations: 3.406 kB / 1.418 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.079, allocations: 6.094 kB / 1.418 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007106/1.08, allocations: 433.7 kB / 1.418 GB, free: 14.51 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/1.08, allocations: 123 kB / 1.418 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/1.08, allocations: 7.375 kB / 1.418 GB, free: 14.38 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/1.08, allocations: 13.19 kB / 1.418 GB, free: 14.38 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/1.081, allocations: 14.52 kB / 1.418 GB, free: 14.37 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/1.081, allocations: 10.64 kB / 1.418 GB, free: 14.36 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002378/1.081, allocations: 222.2 kB / 1.419 GB, free: 14.22 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.51e-07/1.081, allocations: 4 kB / 1.419 GB, free: 14.21 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003938/1.081, allocations: 79.42 kB / 1.419 GB, free: 14.2 MB / 1.123 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.001283/1.082, allocations: 1.039 MB / 1.42 GB, free: 13.3 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004304/1.083, allocations: 179.4 kB / 1.42 GB, free: 13.22 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.083, allocations: 0 / 1.42 GB, free: 13.22 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/1.083, allocations: 84.61 kB / 1.42 GB, free: 13.19 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009241/1.084, allocations: 163.8 kB / 1.42 GB, free: 13.11 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/1.088, allocations: 2.909 MB / 1.423 GB, free: 10.91 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/1.088, allocations: 0.775 MB / 1.424 GB, free: 10.18 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002039/1.089, allocations: 66.67 kB / 1.424 GB, free: 10.15 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/1.089, allocations: 87.75 kB / 1.424 GB, free: 10.08 MB / 1.123 GB Notification: Performance of SimCode: time 3.21e-07/1.089, allocations: 0 / 1.424 GB, free: 10.08 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/1.123, allocations: 8.843 MB / 1.432 GB, free: 3.734 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/9.256, allocations: 9.078 kB / 1.432 GB, free: 3.73 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches