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.001388/0.001388, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00155/0.00155, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.332/1.332, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.945/2.945, allocations: 0.5003 GB / 0.8061 GB, free: 26.81 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="cs",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.001802/0.001802, allocations: 70.41 kB / 1.171 GB, free: 19.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2942, allocations: 179 MB / 1.345 GB, free: 448 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1831/0.4773, allocations: 171.1 MB / 1.512 GB, free: 4.742 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.002624/0.4799, allocations: 1.57 MB / 1.514 GB, free: 3.168 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.4802, allocations: 19.81 kB / 1.514 GB, free: 3.148 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.4806, allocations: 154.9 kB / 1.514 GB, free: 2.996 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.4821, allocations: 0.7468 MB / 1.515 GB, free: 2.246 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.4835, allocations: 0.6331 MB / 1.515 GB, free: 1.613 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007926/0.4843, allocations: 0.7294 MB / 1.516 GB, free: 0.8828 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.4846, allocations: 193 kB / 1.516 GB, free: 0.6875 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009079/0.4855, allocations: 0.5177 MB / 1.517 GB, free: 172 kB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.4858, allocations: 246.9 kB / 1.517 GB, free: 15.93 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.4858, allocations: 24 kB / 1.517 GB, free: 15.9 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.4872, allocations: 0.9235 MB / 1.518 GB, free: 14.98 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.4873, allocations: 115.6 kB / 1.518 GB, free: 14.86 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.4875, allocations: 167.2 kB / 1.518 GB, free: 14.7 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0009266/0.4884, allocations: 0.7437 MB / 1.519 GB, free: 13.95 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4884, allocations: 0 / 1.519 GB, free: 13.95 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4884, allocations: 0 / 1.519 GB, free: 13.95 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.4884, allocations: 4 kB / 1.519 GB, free: 13.95 MB / 1.217 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.0008849/0.4893, allocations: 0.6017 MB / 1.52 GB, free: 13.31 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.4894, allocations: 8.031 kB / 1.52 GB, free: 13.3 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.764e-05/0.4894, allocations: 8.5 kB / 1.52 GB, free: 13.3 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.017e-05/0.4894, allocations: 62.53 kB / 1.52 GB, free: 13.23 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.4905, allocations: 155.6 kB / 1.52 GB, free: 13.07 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.491, allocations: 264.5 kB / 1.52 GB, free: 12.79 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.491, allocations: 20.44 kB / 1.52 GB, free: 12.77 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.491, allocations: 24 kB / 1.52 GB, free: 12.75 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.4915, allocations: 281.1 kB / 1.52 GB, free: 12.45 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4915, allocations: 0 / 1.52 GB, free: 12.45 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.4915, allocations: 15.98 kB / 1.52 GB, free: 12.43 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.4915, allocations: 7.938 kB / 1.52 GB, free: 12.43 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.492, allocations: 204.9 kB / 1.521 GB, free: 12.23 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.4933, allocations: 1.192 MB / 1.522 GB, free: 10.94 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.4936, allocations: 134.5 kB / 1.522 GB, free: 10.8 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.4938, allocations: 96.73 kB / 1.522 GB, free: 10.7 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004293/0.4942, allocations: 75.92 kB / 1.522 GB, free: 10.62 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.4942, allocations: 30.56 kB / 1.522 GB, free: 10.59 MB / 1.217 GB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.4942, allocations: 0 / 1.522 GB, free: 10.59 MB / 1.217 GB Notification: Performance of matching and sorting (n=17): time 0.0007399/0.495, allocations: 295.3 kB / 1.522 GB, free: 10.29 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.495, allocations: 55.41 kB / 1.522 GB, free: 10.23 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.4953, allocations: 328.5 kB / 1.523 GB, free: 9.902 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.4953, allocations: 33.64 kB / 1.523 GB, free: 9.863 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.4955, allocations: 180.3 kB / 1.523 GB, free: 9.684 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.4955, allocations: 67.42 kB / 1.523 GB, free: 9.617 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.4956, allocations: 41.7 kB / 1.523 GB, free: 9.57 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.4957, allocations: 350.8 kB / 1.523 GB, free: 9.219 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.4959, allocations: 75.88 kB / 1.523 GB, free: 9.145 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.4961, allocations: 124 kB / 1.524 GB, free: 9.008 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.4965, allocations: 193 kB / 1.524 GB, free: 8.801 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4965, allocations: 0 / 1.524 GB, free: 8.801 MB / 1.217 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004718/0.497, allocations: 263.8 kB / 1.524 GB, free: 8.539 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.497, allocations: 8.094 kB / 1.524 GB, free: 8.531 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.497, allocations: 7.938 kB / 1.524 GB, free: 8.523 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.497, allocations: 4 kB / 1.524 GB, free: 8.52 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.4972, allocations: 39.92 kB / 1.524 GB, free: 8.48 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.4972, allocations: 7.984 kB / 1.524 GB, free: 8.473 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.4974, allocations: 27.78 kB / 1.524 GB, free: 8.445 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.4974, allocations: 19.97 kB / 1.524 GB, free: 8.426 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.0001496/0.4976, allocations: 153.7 kB / 1.524 GB, free: 8.266 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.4976, allocations: 35.81 kB / 1.524 GB, free: 8.23 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.4981, allocations: 233.8 kB / 1.525 GB, free: 8 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4981, allocations: 4 kB / 1.525 GB, free: 7.996 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4981, allocations: 0 / 1.525 GB, free: 7.996 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.4981, allocations: 0 / 1.525 GB, free: 7.996 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.4991, allocations: 0.6709 MB / 1.525 GB, free: 7.254 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4991, allocations: 4 kB / 1.525 GB, free: 7.25 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.4993, allocations: 35.91 kB / 1.525 GB, free: 7.215 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4993, allocations: 4.219 kB / 1.525 GB, free: 7.211 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.4993, allocations: 15.94 kB / 1.525 GB, free: 7.195 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.4993, allocations: 4 kB / 1.525 GB, free: 7.191 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4993, allocations: 0 / 1.525 GB, free: 7.191 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/0.4999, allocations: 450.6 kB / 1.526 GB, free: 6.715 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.5, allocations: 47.81 kB / 1.526 GB, free: 6.668 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.5001, allocations: 11.94 kB / 1.526 GB, free: 6.656 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.5002, allocations: 4 kB / 1.526 GB, free: 6.652 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.5003, allocations: 28.06 kB / 1.526 GB, free: 6.625 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.5003, allocations: 7.938 kB / 1.526 GB, free: 6.617 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002216/0.5005, allocations: 235 kB / 1.526 GB, free: 6.387 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5005, allocations: 0 / 1.526 GB, free: 6.387 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003478/0.5009, allocations: 83.83 kB / 1.526 GB, free: 6.305 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.00106/0.5019, allocations: 1.026 MB / 1.527 GB, free: 5.227 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.5023, allocations: 185.2 kB / 1.527 GB, free: 5.047 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5023, allocations: 0 / 1.527 GB, free: 5.047 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.5025, allocations: 88.2 kB / 1.527 GB, free: 4.961 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008184/0.5033, allocations: 166.7 kB / 1.527 GB, free: 4.801 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.5069, allocations: 3.004 MB / 1.53 GB, free: 1.648 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.5072, allocations: 0.7871 MB / 1.531 GB, free: 0.8359 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.5074, allocations: 66.94 kB / 1.531 GB, free: 0.7656 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.5075, allocations: 91.41 kB / 1.531 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of SimCode: time 2.8e-07/0.5075, allocations: 0 / 1.531 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.5384, allocations: 9.292 MB / 1.54 GB, free: 7.617 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.15, allocations: 5.469 kB / 1.54 GB, free: 7.613 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: 17.266168932954315]