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.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.001399/0.001399, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.001441/0.001441, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.5/2.5, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 76.06 kB / 1.107 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8131/0.8149, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1908/1.006, allocations: 168.1 MB / 1.436 GB, free: 10.1 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.002885/1.009, allocations: 1.554 MB / 1.437 GB, free: 8.84 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004069/1.009, allocations: 11.62 kB / 1.437 GB, free: 8.836 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005249/1.01, allocations: 148.8 kB / 1.437 GB, free: 8.707 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/1.011, allocations: 0.741 MB / 1.438 GB, free: 8.148 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001615/1.013, allocations: 0.6208 MB / 1.439 GB, free: 7.691 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0009884/1.014, allocations: 0.7069 MB / 1.439 GB, free: 7.281 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/1.014, allocations: 182.7 kB / 1.439 GB, free: 7.16 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007878/1.015, allocations: 347.2 kB / 1.44 GB, free: 6.965 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004572/1.016, allocations: 236.1 kB / 1.44 GB, free: 6.824 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.019e-05/1.016, allocations: 21.5 kB / 1.44 GB, free: 6.824 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/1.017, allocations: 0.9299 MB / 1.441 GB, free: 6.281 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/1.017, allocations: 106.2 kB / 1.441 GB, free: 6.211 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002378/1.018, allocations: 166.1 kB / 1.441 GB, free: 6.109 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/1.019, allocations: 0.7215 MB / 1.442 GB, free: 5.684 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.019, allocations: 0 / 1.442 GB, free: 5.684 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.242e-06/1.019, allocations: 0 / 1.442 GB, free: 5.684 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.294e-05/1.019, allocations: 1.688 kB / 1.442 GB, free: 5.684 MB / 1.123 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.001193/1.02, allocations: 0.6663 MB / 1.443 GB, free: 5.086 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/1.02, allocations: 8.75 kB / 1.443 GB, free: 5.086 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.595e-05/1.02, allocations: 54.39 kB / 1.443 GB, free: 5.031 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/1.022, allocations: 159.7 kB / 1.443 GB, free: 4.953 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/1.022, allocations: 322.7 kB / 1.443 GB, free: 4.652 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/1.022, allocations: 21.72 kB / 1.443 GB, free: 4.641 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/1.022, allocations: 22.38 kB / 1.443 GB, free: 4.633 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/1.023, allocations: 270.9 kB / 1.443 GB, free: 4.449 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/1.023, allocations: 5 kB / 1.443 GB, free: 4.445 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/1.023, allocations: 14.44 kB / 1.443 GB, free: 4.434 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/1.023, allocations: 5.062 kB / 1.443 GB, free: 4.434 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/1.023, allocations: 204.8 kB / 1.444 GB, free: 4.273 MB / 1.123 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.001492/1.025, allocations: 1.202 MB / 1.445 GB, free: 2.969 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/1.025, allocations: 134.4 kB / 1.445 GB, free: 2.828 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/1.025, allocations: 84.8 kB / 1.445 GB, free: 2.742 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005644/1.026, allocations: 311.2 kB / 1.445 GB, free: 2.383 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/1.026, allocations: 30.56 kB / 1.445 GB, free: 2.344 MB / 1.123 GB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/1.026, allocations: 0 / 1.445 GB, free: 2.344 MB / 1.123 GB Notification: Performance of matching and sorting (n=15): time 0.0007677/1.026, allocations: 284.4 kB / 1.446 GB, free: 2.062 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/1.026, allocations: 63.34 kB / 1.446 GB, free: 1.988 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/1.027, allocations: 312.5 kB / 1.446 GB, free: 1.676 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/1.027, allocations: 29.7 kB / 1.446 GB, free: 1.641 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/1.027, allocations: 184.3 kB / 1.446 GB, free: 1.457 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/1.027, allocations: 59.48 kB / 1.446 GB, free: 1.398 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-05/1.027, allocations: 45.7 kB / 1.446 GB, free: 1.348 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.027, allocations: 338.8 kB / 1.447 GB, free: 1.008 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/1.027, allocations: 67.94 kB / 1.447 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/1.028, allocations: 118 kB / 1.447 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/1.028, allocations: 188.4 kB / 1.447 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.028, allocations: 4 kB / 1.447 GB, free: 0.6055 MB / 1.123 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004692/1.028, allocations: 249.3 kB / 1.447 GB, free: 364 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.028, allocations: 4 kB / 1.447 GB, free: 360 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.028, allocations: 0 / 1.447 GB, free: 360 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.029, allocations: 4 kB / 1.447 GB, free: 356 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/1.029, allocations: 47.91 kB / 1.447 GB, free: 308 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.029, allocations: 4 kB / 1.447 GB, free: 304 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/1.029, allocations: 23.83 kB / 1.447 GB, free: 280 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/1.029, allocations: 12 kB / 1.447 GB, free: 268 kB / 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.000146/1.029, allocations: 159.3 kB / 1.447 GB, free: 100 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/1.029, allocations: 31.8 kB / 1.447 GB, free: 68 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/1.03, allocations: 208.4 kB / 1.448 GB, free: 15.86 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.03, allocations: 4 kB / 1.448 GB, free: 15.85 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.03, allocations: 3.984 kB / 1.448 GB, free: 15.85 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.03, allocations: 0 / 1.448 GB, free: 15.85 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/1.031, allocations: 0.6912 MB / 1.448 GB, free: 15.08 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.031, allocations: 4 kB / 1.448 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/1.031, allocations: 32.2 kB / 1.448 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/1.031, allocations: 7.938 kB / 1.448 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/1.031, allocations: 4 kB / 1.448 GB, free: 15.03 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/1.031, allocations: 11.92 kB / 1.448 GB, free: 15.02 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.031, allocations: 4.141 kB / 1.448 GB, free: 15.02 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000657/1.032, allocations: 435.6 kB / 1.449 GB, free: 14.55 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/1.032, allocations: 128.9 kB / 1.449 GB, free: 14.41 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/1.032, allocations: 7.938 kB / 1.449 GB, free: 14.4 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/1.032, allocations: 20.05 kB / 1.449 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/1.032, allocations: 11.98 kB / 1.449 GB, free: 14.37 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/1.032, allocations: 8 kB / 1.449 GB, free: 14.36 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002252/1.032, allocations: 227 kB / 1.449 GB, free: 14.14 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.032, allocations: 0 / 1.449 GB, free: 14.14 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003877/1.033, allocations: 79.89 kB / 1.449 GB, free: 14.06 MB / 1.139 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.00118/1.034, allocations: 1.031 MB / 1.45 GB, free: 12.99 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004161/1.034, allocations: 167.8 kB / 1.45 GB, free: 12.82 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.034, allocations: 0 / 1.45 GB, free: 12.82 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/1.034, allocations: 83.83 kB / 1.45 GB, free: 12.74 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008246/1.035, allocations: 163.9 kB / 1.451 GB, free: 12.59 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/1.039, allocations: 2.92 MB / 1.453 GB, free: 9.516 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/1.039, allocations: 0.7795 MB / 1.454 GB, free: 8.707 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001832/1.039, allocations: 62.94 kB / 1.454 GB, free: 8.648 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/1.039, allocations: 83.41 kB / 1.454 GB, free: 8.566 MB / 1.139 GB Notification: Performance of SimCode: time 3.91e-07/1.039, allocations: 0 / 1.454 GB, free: 8.566 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/1.072, allocations: 8.904 MB / 1.463 GB, free: 15.86 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/8.557, allocations: 7.922 kB / 1.463 GB, free: 15.85 MB / 1.154 GB " [Timeout remaining time 291] (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: 13.972911559001659]