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.0008225/0.0008225, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009113/0.0009113, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8909/0.8909, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.717/1.717, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/3.047e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6773/0.6773, allocations: 147.6 MB / 1.095 GB, free: 38.82 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002835/0.6801, allocations: 1.492 MB / 1.096 GB, free: 38.64 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004749/0.6806, allocations: 16.31 kB / 1.096 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000599/0.6812, allocations: 163.6 kB / 1.096 GB, free: 38.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.6829, allocations: 0.722 MB / 1.097 GB, free: 38.35 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.6848, allocations: 0.659 MB / 1.098 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009999/0.6858, allocations: 0.7281 MB / 1.098 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.6861, allocations: 191.6 kB / 1.099 GB, free: 37.8 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006582/0.6867, allocations: 459.4 kB / 1.099 GB, free: 37.63 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.687, allocations: 204.3 kB / 1.099 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.687, allocations: 24.09 kB / 1.099 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.6883, allocations: 0.7261 MB / 1.1 GB, free: 37.41 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.6884, allocations: 116.6 kB / 1.1 GB, free: 37.36 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.6886, allocations: 116.9 kB / 1.1 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.6901, allocations: 0.7528 MB / 1.101 GB, free: 37.12 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6901, allocations: 0 / 1.101 GB, free: 37.12 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6901, allocations: 4 kB / 1.101 GB, free: 37.12 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.6901, allocations: 0 / 1.101 GB, free: 37.12 MB / 0.9948 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.0009678/0.6911, allocations: 0.5925 MB / 1.101 GB, free: 36.66 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.6911, allocations: 9.938 kB / 1.101 GB, free: 36.66 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.504e-05/0.6912, allocations: 59.44 kB / 1.101 GB, free: 36.61 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007956/0.692, allocations: 157.1 kB / 1.102 GB, free: 36.58 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005218/0.6925, allocations: 263 kB / 1.102 GB, free: 36.39 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.6925, allocations: 22.02 kB / 1.102 GB, free: 36.38 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.6926, allocations: 23.81 kB / 1.102 GB, free: 36.37 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.6931, allocations: 283.5 kB / 1.102 GB, free: 36.22 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.6931, allocations: 8.438 kB / 1.102 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.6931, allocations: 10.12 kB / 1.102 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.6931, allocations: 5.906 kB / 1.102 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.6935, allocations: 199.7 kB / 1.102 GB, free: 36.15 MB / 0.9948 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.001067/0.6946, allocations: 0.9903 MB / 1.103 GB, free: 35.41 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.6948, allocations: 138.5 kB / 1.104 GB, free: 35.34 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.6949, allocations: 89.97 kB / 1.104 GB, free: 35.31 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003142/0.6953, allocations: 75.25 kB / 1.104 GB, free: 35.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.6953, allocations: 36.66 kB / 1.104 GB, free: 35.26 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=17): time 2.064e-06/0.6953, allocations: 0 / 1.104 GB, free: 35.26 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17): time 0.0005595/0.6958, allocations: 291.7 kB / 1.104 GB, free: 35.16 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.6959, allocations: 57.59 kB / 1.104 GB, free: 35.09 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.6961, allocations: 329.8 kB / 1.104 GB, free: 34.92 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.6961, allocations: 30.95 kB / 1.104 GB, free: 34.89 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.6962, allocations: 187.7 kB / 1.105 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.6963, allocations: 65.3 kB / 1.105 GB, free: 34.68 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/0.6963, allocations: 47.48 kB / 1.105 GB, free: 34.64 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.146e-05/0.6964, allocations: 340.2 kB / 1.105 GB, free: 34.32 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.6965, allocations: 65.67 kB / 1.105 GB, free: 34.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.6967, allocations: 206.8 kB / 1.105 GB, free: 34.14 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.6969, allocations: 201.9 kB / 1.105 GB, free: 34.03 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6969, allocations: 1.094 kB / 1.105 GB, free: 34.03 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003244/0.6972, allocations: 256.8 kB / 1.106 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.6973, allocations: 5.812 kB / 1.106 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6973, allocations: 1.312 kB / 1.106 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.6973, allocations: 7.688 kB / 1.106 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.6974, allocations: 48.27 kB / 1.106 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6974, allocations: 3.094 kB / 1.106 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.6975, allocations: 29.64 kB / 1.106 GB, free: 33.89 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.6976, allocations: 12.27 kB / 1.106 GB, free: 33.89 MB / 0.9948 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 9.275e-05/0.6977, allocations: 153.8 kB / 1.106 GB, free: 33.75 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.6977, allocations: 39.47 kB / 1.106 GB, free: 33.73 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.698, allocations: 234.6 kB / 1.106 GB, free: 33.62 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.698, allocations: 5.219 kB / 1.106 GB, free: 33.62 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6981, allocations: 1.672 kB / 1.106 GB, free: 33.62 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.6981, allocations: 0.6562 kB / 1.106 GB, free: 33.62 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007056/0.6988, allocations: 0.6458 MB / 1.107 GB, free: 33.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6988, allocations: 3.219 kB / 1.107 GB, free: 33.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.6989, allocations: 43.56 kB / 1.107 GB, free: 33.17 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.6989, allocations: 2.844 kB / 1.107 GB, free: 33.17 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.6989, allocations: 3.797 kB / 1.107 GB, free: 33.17 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.6989, allocations: 5.359 kB / 1.107 GB, free: 33.17 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6989, allocations: 6.125 kB / 1.107 GB, free: 33.16 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.6993, allocations: 448.5 kB / 1.107 GB, free: 32.88 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.6994, allocations: 49.34 kB / 1.107 GB, free: 32.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.6994, allocations: 4.594 kB / 1.107 GB, free: 32.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.232e-05/0.6995, allocations: 11.69 kB / 1.107 GB, free: 32.85 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.6996, allocations: 25.66 kB / 1.107 GB, free: 32.84 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.6996, allocations: 9.719 kB / 1.107 GB, free: 32.83 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001652/0.6997, allocations: 230.1 kB / 1.108 GB, free: 32.71 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6997, allocations: 96 / 1.108 GB, free: 32.71 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003302/0.7001, allocations: 90.11 kB / 1.108 GB, free: 32.7 MB / 0.9948 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.0007453/0.7008, allocations: 1.028 MB / 1.109 GB, free: 31.87 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003083/0.7011, allocations: 172.1 kB / 1.109 GB, free: 31.82 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7011, allocations: 1.125 kB / 1.109 GB, free: 31.82 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.7013, allocations: 95.19 kB / 1.109 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006001/0.7019, allocations: 170.1 kB / 1.109 GB, free: 31.75 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.7048, allocations: 2.965 MB / 1.112 GB, free: 29.8 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.705, allocations: 183.3 kB / 1.112 GB, free: 29.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003046/0.7054, allocations: 63.19 kB / 1.112 GB, free: 29.69 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.7055, allocations: 94.97 kB / 1.112 GB, free: 29.62 MB / 0.9948 GB Notification: Performance of SimCode: time 1.924e-06/0.7055, allocations: 0 / 1.112 GB, free: 29.62 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.7406, allocations: 10.28 MB / 1.122 GB, free: 28.02 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/8.26, allocations: 8.953 kB / 1.122 GB, free: 28.01 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 12.453599982894957]