Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 101.4 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 212.9 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.954/2.954, allocations: 476.7 MB / 0.7672 GB, free: 5.242 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 75.89 kB / 1.112 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8577/0.8597, allocations: 169.9 MB / 1.278 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.215/1.075, allocations: 170.8 MB / 1.445 GB, free: 1.91 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.00321/1.078, allocations: 1.554 MB / 1.447 GB, free: 364 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004419/1.078, allocations: 19.81 kB / 1.447 GB, free: 344 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006081/1.079, allocations: 158.8 kB / 1.447 GB, free: 184 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002122/1.081, allocations: 0.7351 MB / 1.447 GB, free: 15.44 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/1.083, allocations: 0.6034 MB / 1.448 GB, free: 14.84 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001174/1.084, allocations: 0.7051 MB / 1.449 GB, free: 14.13 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004664/1.085, allocations: 192.9 kB / 1.449 GB, free: 13.93 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000765/1.085, allocations: 350.7 kB / 1.449 GB, free: 13.59 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004286/1.086, allocations: 235 kB / 1.45 GB, free: 13.36 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/1.086, allocations: 28 kB / 1.45 GB, free: 13.33 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/1.088, allocations: 0.9234 MB / 1.45 GB, free: 12.41 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001763/1.088, allocations: 111.7 kB / 1.451 GB, free: 12.3 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002513/1.088, allocations: 163.2 kB / 1.451 GB, free: 12.14 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/1.089, allocations: 0.7262 MB / 1.451 GB, free: 11.41 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.089, allocations: 0 / 1.451 GB, free: 11.41 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.482e-06/1.089, allocations: 0 / 1.451 GB, free: 11.41 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.182e-05/1.089, allocations: 0 / 1.451 GB, free: 11.41 MB / 1.154 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.001222/1.091, allocations: 0.6692 MB / 1.452 GB, free: 10.69 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.091, allocations: 8.031 kB / 1.452 GB, free: 10.68 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.013e-05/1.091, allocations: 58.55 kB / 1.452 GB, free: 10.62 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/1.092, allocations: 155.6 kB / 1.452 GB, free: 10.46 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/1.093, allocations: 325.9 kB / 1.453 GB, free: 10.11 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/1.093, allocations: 16.44 kB / 1.453 GB, free: 10.09 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/1.093, allocations: 27.92 kB / 1.453 GB, free: 10.07 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/1.093, allocations: 287.4 kB / 1.453 GB, free: 9.762 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.093, allocations: 0 / 1.453 GB, free: 9.762 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/1.093, allocations: 12 kB / 1.453 GB, free: 9.75 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/1.093, allocations: 4 kB / 1.453 GB, free: 9.746 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/1.094, allocations: 195.8 kB / 1.453 GB, free: 9.555 MB / 1.154 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.001708/1.095, allocations: 1.205 MB / 1.454 GB, free: 8.246 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/1.096, allocations: 130.5 kB / 1.454 GB, free: 8.109 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/1.096, allocations: 96.73 kB / 1.454 GB, free: 8.012 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006518/1.097, allocations: 299.2 kB / 1.455 GB, free: 7.664 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/1.097, allocations: 46.48 kB / 1.455 GB, free: 7.609 MB / 1.154 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/1.097, allocations: 0 / 1.455 GB, free: 7.609 MB / 1.154 GB Notification: Performance of matching and sorting (n=15): time 0.0008578/1.097, allocations: 276.5 kB / 1.455 GB, free: 7.336 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/1.098, allocations: 55.41 kB / 1.455 GB, free: 7.27 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/1.098, allocations: 308.5 kB / 1.455 GB, free: 6.965 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/1.098, allocations: 37.7 kB / 1.455 GB, free: 6.922 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/1.098, allocations: 184.3 kB / 1.456 GB, free: 6.738 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/1.098, allocations: 51.59 kB / 1.456 GB, free: 6.688 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.558e-05/1.098, allocations: 41.7 kB / 1.456 GB, free: 6.641 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002239/1.098, allocations: 342.8 kB / 1.456 GB, free: 6.297 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/1.099, allocations: 59.95 kB / 1.456 GB, free: 6.238 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/1.099, allocations: 135.7 kB / 1.456 GB, free: 6.09 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/1.099, allocations: 185 kB / 1.456 GB, free: 5.891 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.099, allocations: 4 kB / 1.456 GB, free: 5.887 MB / 1.154 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005171/1.1, allocations: 249.3 kB / 1.457 GB, free: 5.637 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.1, allocations: 4 kB / 1.457 GB, free: 5.633 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.1, allocations: 0 / 1.457 GB, free: 5.633 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.1, allocations: 4 kB / 1.457 GB, free: 5.629 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/1.1, allocations: 39.92 kB / 1.457 GB, free: 5.59 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/1.1, allocations: 4 kB / 1.457 GB, free: 5.586 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/1.1, allocations: 35.86 kB / 1.457 GB, free: 5.551 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/1.1, allocations: 8 kB / 1.457 GB, free: 5.543 MB / 1.154 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.00016/1.1, allocations: 157.7 kB / 1.457 GB, free: 5.379 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/1.1, allocations: 27.81 kB / 1.457 GB, free: 5.352 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/1.101, allocations: 220.3 kB / 1.457 GB, free: 5.129 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.101, allocations: 4 kB / 1.457 GB, free: 5.125 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.101, allocations: 4 kB / 1.457 GB, free: 5.121 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.101, allocations: 0 / 1.457 GB, free: 5.121 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/1.102, allocations: 0.6873 MB / 1.458 GB, free: 4.355 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.102, allocations: 4 kB / 1.458 GB, free: 4.352 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/1.102, allocations: 31.98 kB / 1.458 GB, free: 4.32 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/1.102, allocations: 11.92 kB / 1.458 GB, free: 4.309 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/1.102, allocations: 0 / 1.458 GB, free: 4.309 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/1.102, allocations: 8 kB / 1.458 GB, free: 4.301 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/1.102, allocations: 11.88 kB / 1.458 GB, free: 4.289 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000727/1.103, allocations: 425.4 kB / 1.458 GB, free: 3.836 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/1.103, allocations: 128.9 kB / 1.458 GB, free: 3.691 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/1.103, allocations: 8 kB / 1.458 GB, free: 3.684 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/1.103, allocations: 11.92 kB / 1.458 GB, free: 3.672 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/1.103, allocations: 15.98 kB / 1.458 GB, free: 3.656 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/1.103, allocations: 4 kB / 1.458 GB, free: 3.652 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002527/1.104, allocations: 227 kB / 1.459 GB, free: 3.43 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.104, allocations: 4.062 kB / 1.459 GB, free: 3.426 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004139/1.104, allocations: 83.89 kB / 1.459 GB, free: 3.344 MB / 1.154 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.001252/1.105, allocations: 1.013 MB / 1.46 GB, free: 2.281 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004732/1.106, allocations: 172.6 kB / 1.46 GB, free: 2.113 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.106, allocations: 0 / 1.46 GB, free: 2.113 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/1.106, allocations: 75.89 kB / 1.46 GB, free: 2.039 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009401/1.107, allocations: 179.9 kB / 1.46 GB, free: 1.871 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/1.111, allocations: 2.922 MB / 1.463 GB, free: 14.8 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/1.112, allocations: 0.7795 MB / 1.464 GB, free: 13.99 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002227/1.112, allocations: 58.92 kB / 1.464 GB, free: 13.94 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/1.112, allocations: 91.41 kB / 1.464 GB, free: 13.85 MB / 1.17 GB Notification: Performance of SimCode: time 4.31e-07/1.112, allocations: 0 / 1.464 GB, free: 13.85 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04982/1.162, allocations: 8.825 MB / 1.473 GB, free: 5.207 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.73/9.892, allocations: 8.719 kB / 1.473 GB, free: 5.199 MB / 1.17 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senDyn.port_a.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! Error: Could not read variable senDyn.V_flow in file Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senDyn.V_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! Error: Could not read variable senSteSta.V_flow in file Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv. Warning: Get data of variable senSteSta.V_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.213508780114353]