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.001621/0.001621, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00239/0.00239, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 8 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.769/2.769, allocations: 476.7 MB / 0.7707 GB, free: 4.238 MB / 0.6231 GB " [Timeout remaining time 177] 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.002042/0.002042, allocations: 64.47 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3841, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2131/0.5973, allocations: 171 MB / 1.45 GB, free: 88 kB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.6005, allocations: 1.56 MB / 1.452 GB, free: 14.52 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004882/0.601, allocations: 19.81 kB / 1.452 GB, free: 14.5 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.6016, allocations: 154.9 kB / 1.452 GB, free: 14.35 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.6038, allocations: 0.7391 MB / 1.453 GB, free: 13.61 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.6057, allocations: 0.6379 MB / 1.453 GB, free: 12.97 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.6067, allocations: 0.7207 MB / 1.454 GB, free: 12.25 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/0.6071, allocations: 189 kB / 1.454 GB, free: 12.06 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007104/0.6078, allocations: 346.7 kB / 1.455 GB, free: 11.72 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003489/0.6082, allocations: 235.1 kB / 1.455 GB, free: 11.49 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.6082, allocations: 20 kB / 1.455 GB, free: 11.47 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.61, allocations: 0.9468 MB / 1.456 GB, free: 10.52 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.6101, allocations: 115.6 kB / 1.456 GB, free: 10.41 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.6103, allocations: 163.2 kB / 1.456 GB, free: 10.25 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.6115, allocations: 0.7282 MB / 1.457 GB, free: 9.52 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6116, allocations: 4 kB / 1.457 GB, free: 9.516 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6116, allocations: 0 / 1.457 GB, free: 9.516 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.6116, allocations: 0 / 1.457 GB, free: 9.516 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.001009/0.6126, allocations: 0.5784 MB / 1.457 GB, free: 8.906 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.6126, allocations: 16.02 kB / 1.457 GB, free: 8.891 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.94e-05/0.6127, allocations: 62.48 kB / 1.457 GB, free: 8.82 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.6138, allocations: 159.6 kB / 1.458 GB, free: 8.664 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005822/0.6144, allocations: 256 kB / 1.458 GB, free: 8.391 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.6144, allocations: 20.44 kB / 1.458 GB, free: 8.371 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.6145, allocations: 16 kB / 1.458 GB, free: 8.355 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.615, allocations: 283.3 kB / 1.458 GB, free: 8.055 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.615, allocations: 8 kB / 1.458 GB, free: 8.047 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.615, allocations: 8 kB / 1.458 GB, free: 8.039 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.615, allocations: 8 kB / 1.458 GB, free: 8.031 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.6155, allocations: 187.8 kB / 1.458 GB, free: 7.848 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.001511/0.617, allocations: 1.179 MB / 1.459 GB, free: 6.574 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.6173, allocations: 122.5 kB / 1.46 GB, free: 6.445 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.6174, allocations: 100.7 kB / 1.46 GB, free: 6.344 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005072/0.6179, allocations: 72.14 kB / 1.46 GB, free: 6.273 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.618, allocations: 30.56 kB / 1.46 GB, free: 6.234 MB / 1.154 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.618, allocations: 8 kB / 1.46 GB, free: 6.227 MB / 1.154 GB Notification: Performance of matching and sorting (n=15): time 0.0007838/0.6188, allocations: 279.8 kB / 1.46 GB, free: 5.949 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.6188, allocations: 55.41 kB / 1.46 GB, free: 5.883 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.6191, allocations: 320.5 kB / 1.46 GB, free: 5.562 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.6192, allocations: 25.7 kB / 1.46 GB, free: 5.531 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.6193, allocations: 184.3 kB / 1.461 GB, free: 5.348 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.6194, allocations: 55.53 kB / 1.461 GB, free: 5.293 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/0.6194, allocations: 45.66 kB / 1.461 GB, free: 5.242 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6196, allocations: 342.8 kB / 1.461 GB, free: 4.898 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.6198, allocations: 59.95 kB / 1.461 GB, free: 4.84 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.62, allocations: 131.1 kB / 1.461 GB, free: 4.695 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.6203, allocations: 184.9 kB / 1.461 GB, free: 4.496 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.6203, allocations: 4 kB / 1.461 GB, free: 4.492 MB / 1.154 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004614/0.6208, allocations: 247.3 kB / 1.462 GB, free: 4.246 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.6208, allocations: 7.984 kB / 1.462 GB, free: 4.238 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6208, allocations: 4 kB / 1.462 GB, free: 4.234 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.6208, allocations: 0 / 1.462 GB, free: 4.234 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.621, allocations: 35.98 kB / 1.462 GB, free: 4.199 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.621, allocations: 7.938 kB / 1.462 GB, free: 4.191 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.6212, allocations: 31.91 kB / 1.462 GB, free: 4.16 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.6213, allocations: 12 kB / 1.462 GB, free: 4.148 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.0001578/0.6214, allocations: 157.7 kB / 1.462 GB, free: 3.984 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.6215, allocations: 27.81 kB / 1.462 GB, free: 3.957 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005096/0.622, allocations: 224.2 kB / 1.462 GB, free: 3.727 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.622, allocations: 4 kB / 1.462 GB, free: 3.723 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.622, allocations: 0 / 1.462 GB, free: 3.723 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.622, allocations: 4 kB / 1.462 GB, free: 3.719 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.6231, allocations: 0.6553 MB / 1.463 GB, free: 2.992 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6231, allocations: 0 / 1.463 GB, free: 2.992 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.6233, allocations: 31.92 kB / 1.463 GB, free: 2.961 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-06/0.6233, allocations: 7.938 kB / 1.463 GB, free: 2.953 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.6233, allocations: 8 kB / 1.463 GB, free: 2.945 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6233, allocations: 0 / 1.463 GB, free: 2.945 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6233, allocations: 4 kB / 1.463 GB, free: 2.941 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006832/0.624, allocations: 436.9 kB / 1.463 GB, free: 2.48 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.6241, allocations: 55.66 kB / 1.463 GB, free: 2.426 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.6241, allocations: 0 / 1.463 GB, free: 2.426 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.6243, allocations: 12 kB / 1.463 GB, free: 2.414 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.6243, allocations: 15.91 kB / 1.463 GB, free: 2.398 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.6244, allocations: 11.94 kB / 1.463 GB, free: 2.387 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002361/0.6246, allocations: 223 kB / 1.464 GB, free: 2.172 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.6246, allocations: 0 / 1.464 GB, free: 2.172 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004166/0.625, allocations: 87.95 kB / 1.464 GB, free: 2.086 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.001206/0.6262, allocations: 1.015 MB / 1.465 GB, free: 1.02 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004516/0.6267, allocations: 171.8 kB / 1.465 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6267, allocations: 0 / 1.465 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.6269, allocations: 87.83 kB / 1.465 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008843/0.6277, allocations: 163.2 kB / 1.465 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.6318, allocations: 2.915 MB / 1.468 GB, free: 13.55 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.6323, allocations: 0.7756 MB / 1.469 GB, free: 12.75 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002413/0.6325, allocations: 66.86 kB / 1.469 GB, free: 12.68 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.6326, allocations: 87.42 kB / 1.469 GB, free: 12.59 MB / 1.17 GB Notification: Performance of SimCode: time 1.122e-06/0.6326, allocations: 0 / 1.469 GB, free: 12.59 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04104/0.6737, allocations: 9.062 MB / 1.478 GB, free: 3.77 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.06, allocations: 4 kB / 1.478 GB, free: 3.766 MB / 1.17 GB " [Timeout remaining time 287] (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: 19.021177418999287]