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.008254/0.008254, allocations: 97.27 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.002045/0.002045, allocations: 194.5 kB / 16.68 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.487/1.487, 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 10.1.1-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 437.1 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2833, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7776/1.061, allocations: 167.4 MB / 1.33 GB, free: 3.555 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002982/1.064, allocations: 1.55 MB / 1.331 GB, free: 2.461 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004999/1.064, allocations: 15.19 kB / 1.331 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005507/1.065, allocations: 149.9 kB / 1.331 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002036/1.067, allocations: 0.7321 MB / 1.332 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/1.069, allocations: 0.6086 MB / 1.333 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001046/1.07, allocations: 0.6982 MB / 1.333 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004541/1.07, allocations: 230.1 kB / 1.334 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007522/1.071, allocations: 346.4 kB / 1.334 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/1.072, allocations: 224.5 kB / 1.334 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.338e-05/1.072, allocations: 22.88 kB / 1.334 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/1.073, allocations: 0.8747 MB / 1.335 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001672/1.074, allocations: 115.2 kB / 1.335 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002433/1.074, allocations: 163.1 kB / 1.335 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/1.075, allocations: 0.7145 MB / 1.336 GB, free: 284 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.075, allocations: 5.812 kB / 1.336 GB, free: 280 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.292e-06/1.075, allocations: 0 / 1.336 GB, free: 280 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.284e-05/1.075, allocations: 0 / 1.336 GB, free: 280 kB / 1.014 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.001196/1.077, allocations: 0.6669 MB / 1.337 GB, free: 15.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.077, allocations: 8.719 kB / 1.337 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.745e-05/1.077, allocations: 54.36 kB / 1.337 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/1.078, allocations: 156 kB / 1.337 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005762/1.079, allocations: 328.4 kB / 1.337 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/1.079, allocations: 17.5 kB / 1.337 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/1.079, allocations: 24.73 kB / 1.337 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/1.079, allocations: 283 kB / 1.337 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/1.079, allocations: 3.938 kB / 1.337 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/1.079, allocations: 10.66 kB / 1.337 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/1.079, allocations: 5.281 kB / 1.337 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/1.08, allocations: 202.3 kB / 1.338 GB, free: 15.12 MB / 1.029 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.001462/1.081, allocations: 1.195 MB / 1.339 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/1.082, allocations: 149.6 kB / 1.339 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/1.082, allocations: 89.06 kB / 1.339 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005638/1.082, allocations: 301 kB / 1.339 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/1.082, allocations: 46.81 kB / 1.339 GB, free: 13.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.883e-06/1.082, allocations: 0 / 1.339 GB, free: 13.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0007879/1.083, allocations: 273.8 kB / 1.34 GB, free: 13.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/1.083, allocations: 52.47 kB / 1.34 GB, free: 13.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/1.084, allocations: 325 kB / 1.34 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/1.084, allocations: 26.83 kB / 1.34 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/1.084, allocations: 184.2 kB / 1.34 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/1.084, allocations: 52.86 kB / 1.34 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/1.084, allocations: 47.38 kB / 1.34 GB, free: 13.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.084, allocations: 339.1 kB / 1.341 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/1.084, allocations: 63.56 kB / 1.341 GB, free: 12.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/1.084, allocations: 125.5 kB / 1.341 GB, free: 12.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/1.085, allocations: 203.4 kB / 1.341 GB, free: 12.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.085, allocations: 0 / 1.341 GB, free: 12.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004907/1.085, allocations: 239.2 kB / 1.341 GB, free: 12.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.085, allocations: 5.125 kB / 1.341 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.085, allocations: 1.125 kB / 1.341 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.085, allocations: 3.75 kB / 1.341 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/1.085, allocations: 42.27 kB / 1.341 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.086, allocations: 10.66 kB / 1.341 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/1.086, allocations: 31.67 kB / 1.341 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/1.086, allocations: 13.62 kB / 1.341 GB, free: 12.44 MB / 1.029 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.0001486/1.086, allocations: 151.4 kB / 1.341 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/1.086, allocations: 30.03 kB / 1.341 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/1.086, allocations: 213.9 kB / 1.342 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.086, allocations: 6 kB / 1.342 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.086, allocations: 0 / 1.342 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.086, allocations: 3.188 kB / 1.342 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/1.088, allocations: 0.6894 MB / 1.342 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.088, allocations: 1.125 kB / 1.342 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/1.088, allocations: 31.45 kB / 1.342 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/1.088, allocations: 6.625 kB / 1.342 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/1.088, allocations: 7.188 kB / 1.342 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/1.088, allocations: 11.91 kB / 1.342 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.088, allocations: 2.656 kB / 1.342 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/1.088, allocations: 437.5 kB / 1.343 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/1.089, allocations: 122.2 kB / 1.343 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/1.089, allocations: 7.344 kB / 1.343 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/1.089, allocations: 13.44 kB / 1.343 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/1.089, allocations: 8.859 kB / 1.343 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/1.089, allocations: 5.688 kB / 1.343 GB, free: 11.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002188/1.089, allocations: 230.8 kB / 1.343 GB, free: 11.15 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/1.089, allocations: 0 / 1.343 GB, free: 11.15 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004359/1.09, allocations: 80.14 kB / 1.343 GB, free: 11.14 MB / 1.029 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.001192/1.091, allocations: 1.037 MB / 1.344 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004696/1.091, allocations: 177.1 kB / 1.344 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.091, allocations: 0 / 1.344 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/1.092, allocations: 85.33 kB / 1.345 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009102/1.092, allocations: 165.3 kB / 1.345 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003899/1.096, allocations: 2.918 MB / 1.348 GB, free: 8.199 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/1.097, allocations: 0.7758 MB / 1.348 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002532/1.097, allocations: 66.8 kB / 1.348 GB, free: 7.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/1.097, allocations: 91.02 kB / 1.348 GB, free: 7.418 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/1.097, allocations: 4 kB / 1.348 GB, free: 7.414 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/1.126, allocations: 8.832 MB / 1.357 GB, free: 4.992 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/9.134, allocations: 8.891 kB / 1.357 GB, free: 4.984 MB / 1.029 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