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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007836/0.007836, allocations: 99.69 kB / 15.73 MB, free: 6.445 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.001687/0.001687, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.788/2.788, allocations: 469.4 MB / 0.7422 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.84 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2928, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8195/1.112, allocations: 167.4 MB / 1.383 GB, free: 3.102 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003046/1.115, allocations: 1.543 MB / 1.385 GB, free: 1.855 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004846/1.116, allocations: 16.59 kB / 1.385 GB, free: 1.848 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005641/1.117, allocations: 143.5 kB / 1.385 GB, free: 1.723 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001946/1.119, allocations: 0.7376 MB / 1.386 GB, free: 1.168 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/1.12, allocations: 0.6005 MB / 1.386 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001025/1.121, allocations: 0.7065 MB / 1.387 GB, free: 328 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004768/1.122, allocations: 229.1 kB / 1.387 GB, free: 188 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008689/1.123, allocations: 351.8 kB / 1.387 GB, free: 15.98 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004447/1.123, allocations: 222.8 kB / 1.388 GB, free: 15.85 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 7.336e-05/1.123, allocations: 23.31 kB / 1.388 GB, free: 15.85 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/1.125, allocations: 0.8719 MB / 1.389 GB, free: 15.36 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001709/1.125, allocations: 109.7 kB / 1.389 GB, free: 15.28 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002718/1.125, allocations: 162.1 kB / 1.389 GB, free: 15.18 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/1.127, allocations: 0.7243 MB / 1.389 GB, free: 14.75 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.127, allocations: 0 / 1.389 GB, free: 14.75 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.553e-06/1.127, allocations: 0 / 1.389 GB, free: 14.75 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.379e-05/1.127, allocations: 0 / 1.389 GB, free: 14.75 MB / 1.092 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.001272/1.128, allocations: 0.6635 MB / 1.39 GB, free: 14.16 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.128, allocations: 9.094 kB / 1.39 GB, free: 14.16 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.203e-05/1.128, allocations: 58.88 kB / 1.39 GB, free: 14.1 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/1.13, allocations: 151 kB / 1.39 GB, free: 14.03 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005893/1.13, allocations: 330.1 kB / 1.391 GB, free: 13.73 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/1.13, allocations: 17.66 kB / 1.391 GB, free: 13.72 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/1.13, allocations: 23.78 kB / 1.391 GB, free: 13.71 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/1.131, allocations: 282.9 kB / 1.391 GB, free: 13.51 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.131, allocations: 3.984 kB / 1.391 GB, free: 13.51 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/1.131, allocations: 6.281 kB / 1.391 GB, free: 13.5 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.131, allocations: 6.281 kB / 1.391 GB, free: 13.5 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/1.131, allocations: 196.5 kB / 1.391 GB, free: 13.41 MB / 1.092 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.001498/1.133, allocations: 1.197 MB / 1.392 GB, free: 12.31 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/1.133, allocations: 146.9 kB / 1.392 GB, free: 12.22 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/1.133, allocations: 88 kB / 1.393 GB, free: 12.18 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005678/1.134, allocations: 306.1 kB / 1.393 GB, free: 11.86 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/1.134, allocations: 39.94 kB / 1.393 GB, free: 11.82 MB / 1.092 GB Notification: Performance of pre-optimization done (n=15): time 2.715e-06/1.134, allocations: 3.984 kB / 1.393 GB, free: 11.81 MB / 1.092 GB Notification: Performance of matching and sorting (n=15): time 0.0008129/1.135, allocations: 277 kB / 1.393 GB, free: 11.67 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/1.135, allocations: 61.62 kB / 1.393 GB, free: 11.6 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/1.135, allocations: 319.6 kB / 1.394 GB, free: 11.39 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/1.135, allocations: 30.98 kB / 1.394 GB, free: 11.36 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/1.135, allocations: 180.5 kB / 1.394 GB, free: 11.2 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/1.135, allocations: 54.27 kB / 1.394 GB, free: 11.15 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/1.135, allocations: 43.61 kB / 1.394 GB, free: 11.12 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.136, allocations: 337.3 kB / 1.394 GB, free: 10.79 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/1.136, allocations: 68.14 kB / 1.394 GB, free: 10.75 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/1.136, allocations: 127.6 kB / 1.394 GB, free: 10.66 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/1.136, allocations: 182.7 kB / 1.394 GB, free: 10.54 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.136, allocations: 5.219 kB / 1.394 GB, free: 10.54 MB / 1.092 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004835/1.137, allocations: 241.1 kB / 1.395 GB, free: 10.41 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.137, allocations: 5.5 kB / 1.395 GB, free: 10.41 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.137, allocations: 4 kB / 1.395 GB, free: 10.41 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/1.137, allocations: 5.375 kB / 1.395 GB, free: 10.4 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/1.137, allocations: 44.94 kB / 1.395 GB, free: 10.39 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.137, allocations: 2.469 kB / 1.395 GB, free: 10.39 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/1.137, allocations: 34.02 kB / 1.395 GB, free: 10.37 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/1.137, allocations: 10.84 kB / 1.395 GB, free: 10.36 MB / 1.092 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.0001461/1.138, allocations: 156.7 kB / 1.395 GB, free: 10.22 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/1.138, allocations: 29.44 kB / 1.395 GB, free: 10.2 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/1.138, allocations: 219 kB / 1.395 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.138, allocations: 2.188 kB / 1.395 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.138, allocations: 4 kB / 1.395 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.138, allocations: 1.156 kB / 1.395 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/1.139, allocations: 0.6929 MB / 1.396 GB, free: 9.477 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/1.139, allocations: 2.094 kB / 1.396 GB, free: 9.477 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/1.139, allocations: 32.45 kB / 1.396 GB, free: 9.469 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/1.139, allocations: 6.125 kB / 1.396 GB, free: 9.465 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/1.139, allocations: 7.531 kB / 1.396 GB, free: 9.461 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.139, allocations: 6.75 kB / 1.396 GB, free: 9.461 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.139, allocations: 2.156 kB / 1.396 GB, free: 9.461 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006753/1.14, allocations: 440.7 kB / 1.396 GB, free: 9.129 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/1.14, allocations: 123.7 kB / 1.396 GB, free: 9.004 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/1.14, allocations: 7.312 kB / 1.396 GB, free: 9 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/1.141, allocations: 9.656 kB / 1.397 GB, free: 8.996 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/1.141, allocations: 9.797 kB / 1.397 GB, free: 8.992 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/1.141, allocations: 9.531 kB / 1.397 GB, free: 8.988 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002382/1.141, allocations: 231.4 kB / 1.397 GB, free: 8.836 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.141, allocations: 0 / 1.397 GB, free: 8.836 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004477/1.141, allocations: 82.41 kB / 1.397 GB, free: 8.82 MB / 1.092 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.001218/1.143, allocations: 1.034 MB / 1.398 GB, free: 7.926 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004417/1.143, allocations: 174.4 kB / 1.398 GB, free: 7.852 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.143, allocations: 0 / 1.398 GB, free: 7.852 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/1.143, allocations: 88.31 kB / 1.398 GB, free: 7.812 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009188/1.144, allocations: 168.4 kB / 1.398 GB, free: 7.73 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/1.148, allocations: 2.912 MB / 1.401 GB, free: 5.527 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/1.148, allocations: 0.775 MB / 1.402 GB, free: 4.785 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002393/1.149, allocations: 66.58 kB / 1.402 GB, free: 4.758 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/1.149, allocations: 88.22 kB / 1.402 GB, free: 4.688 MB / 1.092 GB Notification: Performance of SimCode: time 4.51e-07/1.149, allocations: 0 / 1.402 GB, free: 4.688 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/1.178, allocations: 8.845 MB / 1.411 GB, free: 316 kB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/9.264, allocations: 20.56 kB / 1.411 GB, free: 300 kB / 1.092 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 50 --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