Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001465/0.001465, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001669/0.001669, allocations: 217.6 kB / 22.25 MB, free: 4.852 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.325/1.325, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.966/2.966, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_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.001964/0.001964, allocations: 72.38 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2962, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1674/0.4636, allocations: 147.7 MB / 1.508 GB, free: 9.84 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.4662, allocations: 1.492 MB / 1.509 GB, free: 8.344 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.4664, allocations: 15.88 kB / 1.509 GB, free: 8.328 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.4668, allocations: 158.8 kB / 1.509 GB, free: 8.172 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.4683, allocations: 0.7039 MB / 1.51 GB, free: 7.465 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.4696, allocations: 0.61 MB / 1.511 GB, free: 6.855 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007532/0.4704, allocations: 0.7292 MB / 1.511 GB, free: 6.125 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.4707, allocations: 194.7 kB / 1.511 GB, free: 5.934 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008954/0.4716, allocations: 0.5099 MB / 1.512 GB, free: 5.422 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.4718, allocations: 219 kB / 1.512 GB, free: 5.207 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.4719, allocations: 24 kB / 1.512 GB, free: 5.184 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.4729, allocations: 0.7128 MB / 1.513 GB, free: 4.469 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.4731, allocations: 123.6 kB / 1.513 GB, free: 4.348 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.4732, allocations: 135.4 kB / 1.513 GB, free: 4.215 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0008923/0.4741, allocations: 0.7125 MB / 1.514 GB, free: 3.5 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4741, allocations: 0 / 1.514 GB, free: 3.5 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4741, allocations: 0 / 1.514 GB, free: 3.5 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.4741, allocations: 0 / 1.514 GB, free: 3.5 MB / 1.201 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.0008531/0.475, allocations: 0.5978 MB / 1.514 GB, free: 2.871 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.475, allocations: 12.03 kB / 1.514 GB, free: 2.859 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.915e-05/0.4751, allocations: 58.53 kB / 1.514 GB, free: 2.793 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.4761, allocations: 151.6 kB / 1.515 GB, free: 2.645 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004871/0.4766, allocations: 284.4 kB / 1.515 GB, free: 2.344 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.4766, allocations: 20.44 kB / 1.515 GB, free: 2.32 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.4766, allocations: 20 kB / 1.515 GB, free: 2.301 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.4771, allocations: 281.1 kB / 1.515 GB, free: 2.008 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4771, allocations: 0 / 1.515 GB, free: 2.008 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.4771, allocations: 11.94 kB / 1.515 GB, free: 1.996 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.4772, allocations: 4 kB / 1.515 GB, free: 1.992 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.4776, allocations: 200.9 kB / 1.515 GB, free: 1.797 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.4789, allocations: 0.9987 MB / 1.516 GB, free: 0.7383 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.4792, allocations: 138.4 kB / 1.516 GB, free: 0.5938 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.4793, allocations: 84.81 kB / 1.517 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004359/0.4798, allocations: 79.91 kB / 1.517 GB, free: 440 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.4798, allocations: 34.56 kB / 1.517 GB, free: 396 kB / 1.201 GB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.4798, allocations: 0 / 1.517 GB, free: 396 kB / 1.201 GB Notification: Performance of matching and sorting (n=17): time 0.0007454/0.4806, allocations: 303.6 kB / 1.517 GB, free: 88 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.4806, allocations: 55.41 kB / 1.517 GB, free: 20 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.4809, allocations: 316.6 kB / 1.517 GB, free: 15.7 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.481, allocations: 29.7 kB / 1.517 GB, free: 15.66 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.4811, allocations: 184.2 kB / 1.518 GB, free: 15.48 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.4812, allocations: 59.48 kB / 1.518 GB, free: 15.42 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.801e-05/0.4812, allocations: 53.66 kB / 1.518 GB, free: 15.36 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4814, allocations: 346.7 kB / 1.518 GB, free: 15.01 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.4816, allocations: 63.95 kB / 1.518 GB, free: 14.95 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.4818, allocations: 220.2 kB / 1.518 GB, free: 14.7 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.4822, allocations: 195.5 kB / 1.518 GB, free: 14.49 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4822, allocations: 0 / 1.518 GB, free: 14.49 MB / 1.217 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004799/0.4827, allocations: 253.2 kB / 1.519 GB, free: 14.24 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.4827, allocations: 4 kB / 1.519 GB, free: 14.23 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4827, allocations: 4 kB / 1.519 GB, free: 14.23 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.4827, allocations: 0 / 1.519 GB, free: 14.23 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.4829, allocations: 51.91 kB / 1.519 GB, free: 14.18 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4829, allocations: 4 kB / 1.519 GB, free: 14.18 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.4831, allocations: 27.77 kB / 1.519 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.4831, allocations: 12 kB / 1.519 GB, free: 14.14 MB / 1.217 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.0001464/0.4833, allocations: 157.8 kB / 1.519 GB, free: 13.97 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.4833, allocations: 35.8 kB / 1.519 GB, free: 13.94 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.4838, allocations: 231 kB / 1.519 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4838, allocations: 4 kB / 1.519 GB, free: 13.7 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4838, allocations: 0 / 1.519 GB, free: 13.7 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4838, allocations: 0 / 1.519 GB, free: 13.7 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.4849, allocations: 0.6591 MB / 1.52 GB, free: 12.98 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4849, allocations: 4.141 kB / 1.52 GB, free: 12.97 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.4851, allocations: 39.91 kB / 1.52 GB, free: 12.93 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4851, allocations: 3.984 kB / 1.52 GB, free: 12.93 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.4851, allocations: 7.938 kB / 1.52 GB, free: 12.92 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.4851, allocations: 4 kB / 1.52 GB, free: 12.92 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.4851, allocations: 0 / 1.52 GB, free: 12.92 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006951/0.4858, allocations: 453.3 kB / 1.52 GB, free: 12.44 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.4859, allocations: 55.7 kB / 1.52 GB, free: 12.38 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.4859, allocations: 11.94 kB / 1.52 GB, free: 12.37 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.4861, allocations: 8 kB / 1.52 GB, free: 12.36 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.4862, allocations: 19.91 kB / 1.52 GB, free: 12.34 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.4862, allocations: 8 kB / 1.52 GB, free: 12.34 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002349/0.4864, allocations: 227 kB / 1.521 GB, free: 12.12 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.4864, allocations: 4.062 kB / 1.521 GB, free: 12.11 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003634/0.4868, allocations: 83.94 kB / 1.521 GB, free: 12.03 MB / 1.217 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.001093/0.4879, allocations: 1.028 MB / 1.522 GB, free: 10.95 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004127/0.4883, allocations: 175.7 kB / 1.522 GB, free: 10.78 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4883, allocations: 0 / 1.522 GB, free: 10.78 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.4885, allocations: 91.83 kB / 1.522 GB, free: 10.69 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008284/0.4893, allocations: 171.1 kB / 1.522 GB, free: 10.53 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.493, allocations: 3.015 MB / 1.525 GB, free: 7.367 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.4932, allocations: 167.8 kB / 1.525 GB, free: 7.184 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001887/0.4934, allocations: 66.92 kB / 1.525 GB, free: 7.121 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.4935, allocations: 95.41 kB / 1.525 GB, free: 7.027 MB / 1.217 GB Notification: Performance of SimCode: time 3.71e-07/0.4935, allocations: 0 / 1.525 GB, free: 7.027 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0378/0.5313, allocations: 10.19 MB / 1.535 GB, free: 13.12 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.81, allocations: 5.344 kB / 1.535 GB, free: 13.11 MB / 1.232 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.884990165010095]