Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.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.001269/0.001269, 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.001428/0.001428, 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.992 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.876/2.876, allocations: 476.8 MB / 0.7707 GB, free: 4.273 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.Velocity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity",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.002084/0.002084, allocations: 68.62 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3877, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2189/0.6066, allocations: 171 MB / 1.45 GB, free: 16 kB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003381/0.61, allocations: 1.567 MB / 1.452 GB, free: 14.45 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004048/0.6104, allocations: 15.88 kB / 1.452 GB, free: 14.43 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005651/0.611, allocations: 158.8 kB / 1.452 GB, free: 14.28 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.6129, allocations: 0.7429 MB / 1.453 GB, free: 13.53 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.6147, allocations: 0.6382 MB / 1.453 GB, free: 12.89 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001037/0.6158, allocations: 0.7371 MB / 1.454 GB, free: 12.15 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004205/0.6162, allocations: 189.1 kB / 1.454 GB, free: 11.96 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007523/0.6169, allocations: 366.6 kB / 1.455 GB, free: 11.61 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.6173, allocations: 239 kB / 1.455 GB, free: 11.37 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.6173, allocations: 28 kB / 1.455 GB, free: 11.34 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.6193, allocations: 0.9468 MB / 1.456 GB, free: 10.39 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.6194, allocations: 115.6 kB / 1.456 GB, free: 10.28 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.6196, allocations: 175.1 kB / 1.456 GB, free: 10.11 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.6208, allocations: 0.7322 MB / 1.457 GB, free: 9.379 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.6208, allocations: 0 / 1.457 GB, free: 9.379 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6208, allocations: 0 / 1.457 GB, free: 9.379 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.6208, allocations: 0 / 1.457 GB, free: 9.379 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001036/0.6219, allocations: 0.6031 MB / 1.457 GB, free: 8.746 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.6219, allocations: 12.02 kB / 1.457 GB, free: 8.734 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.486e-05/0.622, allocations: 54.55 kB / 1.458 GB, free: 8.672 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.6231, allocations: 163.6 kB / 1.458 GB, free: 8.512 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.6237, allocations: 264.5 kB / 1.458 GB, free: 8.227 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.6237, allocations: 20.44 kB / 1.458 GB, free: 8.207 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.6238, allocations: 27.94 kB / 1.458 GB, free: 8.18 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/0.6243, allocations: 281.1 kB / 1.458 GB, free: 7.883 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.6243, allocations: 0 / 1.458 GB, free: 7.883 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.6243, allocations: 8 kB / 1.458 GB, free: 7.875 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.6243, allocations: 8 kB / 1.458 GB, free: 7.867 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.6248, allocations: 200.9 kB / 1.458 GB, free: 7.672 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.001625/0.6264, allocations: 1.196 MB / 1.46 GB, free: 6.379 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.6267, allocations: 146.4 kB / 1.46 GB, free: 6.227 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.6269, allocations: 88.8 kB / 1.46 GB, free: 6.137 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004775/0.6274, allocations: 75.91 kB / 1.46 GB, free: 6.062 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.6274, allocations: 38.5 kB / 1.46 GB, free: 6.016 MB / 1.154 GB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.6274, allocations: 3.938 kB / 1.46 GB, free: 6.012 MB / 1.154 GB Notification: Performance of matching and sorting (n=17): time 0.0008398/0.6283, allocations: 293.6 kB / 1.46 GB, free: 5.719 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.6283, allocations: 55.41 kB / 1.46 GB, free: 5.652 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.6287, allocations: 316.5 kB / 1.461 GB, free: 5.336 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.6287, allocations: 41.64 kB / 1.461 GB, free: 5.289 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.6288, allocations: 184.2 kB / 1.461 GB, free: 5.105 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.6289, allocations: 59.48 kB / 1.461 GB, free: 5.047 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.494e-05/0.629, allocations: 49.66 kB / 1.461 GB, free: 4.992 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.6291, allocations: 338.8 kB / 1.461 GB, free: 4.652 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.6293, allocations: 67.94 kB / 1.461 GB, free: 4.586 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.6295, allocations: 139.9 kB / 1.461 GB, free: 4.434 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.6299, allocations: 192.9 kB / 1.462 GB, free: 4.227 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6299, allocations: 4 kB / 1.462 GB, free: 4.223 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004831/0.6304, allocations: 255.9 kB / 1.462 GB, free: 3.969 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.6304, allocations: 4 kB / 1.462 GB, free: 3.965 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.6304, allocations: 4 kB / 1.462 GB, free: 3.961 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.6304, allocations: 0 / 1.462 GB, free: 3.961 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.6307, allocations: 47.91 kB / 1.462 GB, free: 3.914 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6307, allocations: 4 kB / 1.462 GB, free: 3.91 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.6309, allocations: 35.86 kB / 1.462 GB, free: 3.875 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.6309, allocations: 12 kB / 1.462 GB, free: 3.863 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 (24): * Single equations (assignments): 24 * 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.0001653/0.6311, allocations: 153.7 kB / 1.462 GB, free: 3.703 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.6311, allocations: 27.81 kB / 1.462 GB, free: 3.676 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005048/0.6316, allocations: 231.3 kB / 1.462 GB, free: 3.441 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6316, allocations: 4 kB / 1.462 GB, free: 3.438 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6316, allocations: 4 kB / 1.462 GB, free: 3.434 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.6316, allocations: 3.984 kB / 1.462 GB, free: 3.43 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.6328, allocations: 0.6786 MB / 1.463 GB, free: 2.68 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.6328, allocations: 0 / 1.463 GB, free: 2.68 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.633, allocations: 35.92 kB / 1.463 GB, free: 2.645 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.633, allocations: 4 kB / 1.463 GB, free: 2.641 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.633, allocations: 11.94 kB / 1.463 GB, free: 2.629 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.633, allocations: 0 / 1.463 GB, free: 2.629 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.633, allocations: 4 kB / 1.463 GB, free: 2.625 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007/0.6337, allocations: 461.3 kB / 1.464 GB, free: 2.137 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.6338, allocations: 51.75 kB / 1.464 GB, free: 2.086 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.6339, allocations: 11.94 kB / 1.464 GB, free: 2.074 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.634, allocations: 11.98 kB / 1.464 GB, free: 2.062 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.6341, allocations: 19.86 kB / 1.464 GB, free: 2.043 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.6341, allocations: 4 kB / 1.464 GB, free: 2.039 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002469/0.6344, allocations: 239.1 kB / 1.464 GB, free: 1.805 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6344, allocations: 0 / 1.464 GB, free: 1.805 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004075/0.6348, allocations: 83.86 kB / 1.464 GB, free: 1.723 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 (17): * Single equations (assignments): 17 * 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.001203/0.636, allocations: 1.029 MB / 1.465 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004483/0.6364, allocations: 183.7 kB / 1.465 GB, free: 476 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6364, allocations: 0 / 1.465 GB, free: 476 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.6366, allocations: 79.89 kB / 1.465 GB, free: 396 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/0.6375, allocations: 173.1 kB / 1.465 GB, free: 228 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.6416, allocations: 3.006 MB / 1.468 GB, free: 13.07 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.642, allocations: 0.7873 MB / 1.469 GB, free: 12.26 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002384/0.6423, allocations: 62.92 kB / 1.469 GB, free: 12.2 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.6424, allocations: 87.41 kB / 1.469 GB, free: 12.11 MB / 1.17 GB Notification: Performance of SimCode: time 9.32e-07/0.6424, allocations: 0 / 1.469 GB, free: 12.11 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04225/0.6847, allocations: 9.265 MB / 1.478 GB, free: 3.082 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.94, allocations: 8.812 kB / 1.478 GB, free: 3.078 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_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_Velocity.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.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.Velocity_res.csv. Warning: Get data of variable senDyn.port_a.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senDyn.v in file Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senDyn.v from file Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senSteSta.v in file Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senSteSta.v from file Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.871317425999223]