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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.374/2.374, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.89 kB / 1.059 GB, free: 0.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2617, allocations: 160.7 MB / 1.216 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7102/0.9719, allocations: 168.1 MB / 1.38 GB, free: 9.914 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002741/0.9747, allocations: 1.558 MB / 1.381 GB, free: 8.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003969/0.975, allocations: 15.34 kB / 1.381 GB, free: 8.812 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.9755, allocations: 150.5 kB / 1.381 GB, free: 8.715 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.977, allocations: 0.7396 MB / 1.382 GB, free: 8.324 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.9784, allocations: 0.608 MB / 1.383 GB, free: 8.023 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007137/0.9791, allocations: 0.7032 MB / 1.383 GB, free: 7.707 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.9794, allocations: 181.2 kB / 1.384 GB, free: 7.625 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005136/0.9799, allocations: 350.3 kB / 1.384 GB, free: 7.473 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.9802, allocations: 237.4 kB / 1.384 GB, free: 7.375 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.9802, allocations: 22.88 kB / 1.384 GB, free: 7.375 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.9815, allocations: 0.9208 MB / 1.385 GB, free: 7.012 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.9816, allocations: 121 kB / 1.385 GB, free: 6.953 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.9818, allocations: 161.6 kB / 1.385 GB, free: 6.855 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009224/0.9827, allocations: 0.7226 MB / 1.386 GB, free: 6.434 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.9827, allocations: 0 / 1.386 GB, free: 6.434 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9827, allocations: 0 / 1.386 GB, free: 6.434 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.9827, allocations: 4 kB / 1.386 GB, free: 6.43 MB / 1.061 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.0008775/0.9836, allocations: 0.6556 MB / 1.387 GB, free: 5.844 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.9836, allocations: 9.031 kB / 1.387 GB, free: 5.844 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.213e-05/0.9837, allocations: 63.53 kB / 1.387 GB, free: 5.781 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.9848, allocations: 151.4 kB / 1.387 GB, free: 5.711 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.9852, allocations: 326.4 kB / 1.387 GB, free: 5.402 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.9852, allocations: 21.38 kB / 1.387 GB, free: 5.391 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.9853, allocations: 22.5 kB / 1.387 GB, free: 5.383 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.9857, allocations: 287.5 kB / 1.387 GB, free: 5.188 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.9858, allocations: 0.9375 kB / 1.387 GB, free: 5.188 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.9858, allocations: 10.09 kB / 1.388 GB, free: 5.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.9858, allocations: 9.453 kB / 1.388 GB, free: 5.176 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.9862, allocations: 189.3 kB / 1.388 GB, free: 5.094 MB / 1.061 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.001341/0.9875, allocations: 1.209 MB / 1.389 GB, free: 3.977 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.9878, allocations: 130.5 kB / 1.389 GB, free: 3.898 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.9879, allocations: 85.72 kB / 1.389 GB, free: 3.855 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/0.9885, allocations: 306.2 kB / 1.389 GB, free: 3.543 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.9885, allocations: 35.75 kB / 1.389 GB, free: 3.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.9885, allocations: 0 / 1.389 GB, free: 3.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0007072/0.9892, allocations: 277.3 kB / 1.39 GB, free: 3.359 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.9893, allocations: 58 kB / 1.39 GB, free: 3.293 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.9896, allocations: 319.7 kB / 1.39 GB, free: 3.078 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.9896, allocations: 26.8 kB / 1.39 GB, free: 3.047 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.9898, allocations: 184.5 kB / 1.39 GB, free: 2.879 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.9898, allocations: 55.11 kB / 1.39 GB, free: 2.832 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.9899, allocations: 42.83 kB / 1.39 GB, free: 2.801 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.99, allocations: 337.3 kB / 1.391 GB, free: 2.469 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.9902, allocations: 66.7 kB / 1.391 GB, free: 2.438 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.9904, allocations: 126.2 kB / 1.391 GB, free: 2.344 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.9907, allocations: 205 kB / 1.391 GB, free: 2.207 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9907, allocations: 0 / 1.391 GB, free: 2.207 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004421/0.9912, allocations: 238.2 kB / 1.391 GB, free: 2.078 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.9912, allocations: 5.438 kB / 1.391 GB, free: 2.078 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.9912, allocations: 1.125 kB / 1.391 GB, free: 2.078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.9912, allocations: 2.688 kB / 1.391 GB, free: 2.078 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.9914, allocations: 45.19 kB / 1.391 GB, free: 2.066 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.9914, allocations: 6.281 kB / 1.391 GB, free: 2.062 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.9916, allocations: 33.64 kB / 1.391 GB, free: 2.039 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.9916, allocations: 12.06 kB / 1.391 GB, free: 2.035 MB / 1.061 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.0001384/0.9917, allocations: 147.9 kB / 1.392 GB, free: 1.898 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.9918, allocations: 30.41 kB / 1.392 GB, free: 1.883 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004493/0.9922, allocations: 228.2 kB / 1.392 GB, free: 1.742 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.9922, allocations: 1.031 kB / 1.392 GB, free: 1.742 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.9922, allocations: 1.031 kB / 1.392 GB, free: 1.742 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.9923, allocations: 0 / 1.392 GB, free: 1.742 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000994/0.9932, allocations: 0.6891 MB / 1.392 GB, free: 1.156 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.9933, allocations: 5.391 kB / 1.392 GB, free: 1.152 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.9934, allocations: 32.98 kB / 1.392 GB, free: 1.145 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.9934, allocations: 6.719 kB / 1.392 GB, free: 1.141 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.9934, allocations: 7.75 kB / 1.392 GB, free: 1.137 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.9934, allocations: 2.312 kB / 1.392 GB, free: 1.137 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9934, allocations: 6.25 kB / 1.392 GB, free: 1.133 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.9941, allocations: 433.6 kB / 1.393 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.9942, allocations: 119.5 kB / 1.393 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.9942, allocations: 11.33 kB / 1.393 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.9944, allocations: 9.844 kB / 1.393 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.9944, allocations: 18.67 kB / 1.393 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.9944, allocations: 5.375 kB / 1.393 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002161/0.9947, allocations: 231.1 kB / 1.393 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9947, allocations: 0 / 1.393 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003584/0.995, allocations: 77.94 kB / 1.393 GB, free: 0.5039 MB / 1.061 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.00117/0.9962, allocations: 1.046 MB / 1.394 GB, free: 15.6 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.9966, allocations: 164.2 kB / 1.395 GB, free: 15.53 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.9966, allocations: 0 / 1.395 GB, free: 15.53 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.9968, allocations: 90.5 kB / 1.395 GB, free: 15.49 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008092/0.9976, allocations: 158.1 kB / 1.395 GB, free: 15.41 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/1.001, allocations: 2.918 MB / 1.398 GB, free: 13.2 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/1.002, allocations: 0.7762 MB / 1.398 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001969/1.002, allocations: 73.55 kB / 1.398 GB, free: 12.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/1.002, allocations: 88.06 kB / 1.399 GB, free: 12.36 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/1.002, allocations: 0.875 kB / 1.399 GB, free: 12.36 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/1.037, allocations: 8.9 MB / 1.407 GB, free: 7.957 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/8.49, allocations: 2.75 kB / 1.407 GB, free: 7.957 MB / 1.076 GB " [Timeout remaining time 291] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable senDyn.port_a.m_flow in file Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senDyn.port_a.m_flow from file Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! Error: Could not read variable senDyn.V_flow in file Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senDyn.V_flow from file Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! Error: Could not read variable senSteSta.V_flow in file Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senSteSta.V_flow from file Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.76923043699935]