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.001288/0.001288, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.00142/0.00142, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.428/1.428, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.856/2.856, allocations: 0.5003 GB / 0.8026 GB, free: 6.77 MB / 0.6387 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.001886/0.001886, allocations: 71.91 kB / 1.165 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8832/0.8851, allocations: 179 MB / 1.34 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2031/1.088, allocations: 170.9 MB / 1.507 GB, free: 8.68 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003005/1.091, allocations: 1.56 MB / 1.509 GB, free: 7.117 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004466/1.092, allocations: 15.88 kB / 1.509 GB, free: 7.102 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005776/1.092, allocations: 150.8 kB / 1.509 GB, free: 6.953 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001875/1.094, allocations: 0.739 MB / 1.509 GB, free: 6.211 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/1.096, allocations: 0.6061 MB / 1.51 GB, free: 5.605 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0009971/1.097, allocations: 0.7098 MB / 1.511 GB, free: 4.895 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/1.097, allocations: 212.8 kB / 1.511 GB, free: 4.684 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/1.098, allocations: 0.5138 MB / 1.511 GB, free: 4.168 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003328/1.099, allocations: 239 kB / 1.512 GB, free: 3.934 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/1.099, allocations: 20 kB / 1.512 GB, free: 3.914 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/1.1, allocations: 0.9118 MB / 1.513 GB, free: 3 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/1.101, allocations: 123.5 kB / 1.513 GB, free: 2.879 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002165/1.101, allocations: 167.2 kB / 1.513 GB, free: 2.715 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/1.102, allocations: 0.7416 MB / 1.514 GB, free: 1.973 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.102, allocations: 0 / 1.514 GB, free: 1.973 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.683e-06/1.102, allocations: 8 kB / 1.514 GB, free: 1.965 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.307e-06/1.102, allocations: 0 / 1.514 GB, free: 1.965 MB / 1.186 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.001135/1.103, allocations: 0.6732 MB / 1.514 GB, free: 1.242 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/1.103, allocations: 12.03 kB / 1.514 GB, free: 1.23 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.284e-05/1.103, allocations: 4.562 kB / 1.514 GB, free: 1.227 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.021e-05/1.103, allocations: 54.55 kB / 1.514 GB, free: 1.164 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/1.105, allocations: 159.6 kB / 1.514 GB, free: 1.008 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/1.105, allocations: 326.9 kB / 1.515 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/1.105, allocations: 24.5 kB / 1.515 GB, free: 0.625 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/1.105, allocations: 28 kB / 1.515 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/1.106, allocations: 285.8 kB / 1.515 GB, free: 308 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.106, allocations: 0 / 1.515 GB, free: 308 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/1.106, allocations: 8 kB / 1.515 GB, free: 300 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.106, allocations: 8 kB / 1.515 GB, free: 292 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/1.106, allocations: 204.9 kB / 1.515 GB, free: 88 kB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/1.108, allocations: 1.227 MB / 1.516 GB, free: 14.75 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/1.108, allocations: 138.4 kB / 1.517 GB, free: 14.61 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/1.108, allocations: 92.8 kB / 1.517 GB, free: 14.52 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006726/1.109, allocations: 303.2 kB / 1.517 GB, free: 14.16 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/1.109, allocations: 30.56 kB / 1.517 GB, free: 14.12 MB / 1.201 GB Notification: Performance of pre-optimization done (n=17): time 2.194e-06/1.109, allocations: 0 / 1.517 GB, free: 14.12 MB / 1.201 GB Notification: Performance of matching and sorting (n=17): time 0.0009078/1.11, allocations: 295 kB / 1.517 GB, free: 13.83 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/1.11, allocations: 59.34 kB / 1.517 GB, free: 13.76 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/1.111, allocations: 328.5 kB / 1.518 GB, free: 13.43 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/1.111, allocations: 29.7 kB / 1.518 GB, free: 13.4 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/1.111, allocations: 180.3 kB / 1.518 GB, free: 13.22 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/1.111, allocations: 63.44 kB / 1.518 GB, free: 13.16 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.11e-05/1.111, allocations: 41.7 kB / 1.518 GB, free: 13.11 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.111, allocations: 350.8 kB / 1.518 GB, free: 12.76 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/1.111, allocations: 63.95 kB / 1.518 GB, free: 12.7 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/1.111, allocations: 128.9 kB / 1.519 GB, free: 12.55 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/1.112, allocations: 197 kB / 1.519 GB, free: 12.34 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.112, allocations: 3.938 kB / 1.519 GB, free: 12.34 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005355/1.112, allocations: 263.8 kB / 1.519 GB, free: 12.07 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.112, allocations: 4 kB / 1.519 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/1.112, allocations: 7.938 kB / 1.519 GB, free: 12.06 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/1.112, allocations: 0 / 1.519 GB, free: 12.06 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/1.113, allocations: 39.98 kB / 1.519 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/1.113, allocations: 7.938 kB / 1.519 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/1.113, allocations: 31.77 kB / 1.519 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/1.113, allocations: 12 kB / 1.519 GB, free: 11.97 MB / 1.201 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.0001847/1.113, allocations: 161.8 kB / 1.519 GB, free: 11.8 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/1.113, allocations: 31.81 kB / 1.519 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005382/1.114, allocations: 234.2 kB / 1.519 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.114, allocations: 4 kB / 1.519 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.114, allocations: 0 / 1.519 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/1.114, allocations: 0 / 1.519 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/1.115, allocations: 0.7069 MB / 1.52 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.115, allocations: 0 / 1.52 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/1.115, allocations: 36.2 kB / 1.52 GB, free: 10.72 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/1.115, allocations: 4 kB / 1.52 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/1.115, allocations: 7.938 kB / 1.52 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.115, allocations: 4 kB / 1.52 GB, free: 10.7 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.115, allocations: 7.938 kB / 1.52 GB, free: 10.7 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/1.116, allocations: 450.8 kB / 1.521 GB, free: 10.22 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/1.116, allocations: 128.8 kB / 1.521 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/1.116, allocations: 7.938 kB / 1.521 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/1.116, allocations: 16.05 kB / 1.521 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/1.116, allocations: 15.98 kB / 1.521 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/1.116, allocations: 4 kB / 1.521 GB, free: 10.03 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002425/1.117, allocations: 235 kB / 1.521 GB, free: 9.805 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.117, allocations: 0 / 1.521 GB, free: 9.805 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004275/1.117, allocations: 79.89 kB / 1.521 GB, free: 9.727 MB / 1.201 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.001246/1.118, allocations: 1.042 MB / 1.522 GB, free: 8.633 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004836/1.119, allocations: 173.6 kB / 1.522 GB, free: 8.465 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.119, allocations: 192 / 1.522 GB, free: 8.465 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/1.119, allocations: 91.83 kB / 1.522 GB, free: 8.375 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009173/1.12, allocations: 164.2 kB / 1.523 GB, free: 8.215 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/1.124, allocations: 3.01 MB / 1.525 GB, free: 5.055 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/1.124, allocations: 0.7756 MB / 1.526 GB, free: 4.254 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002531/1.125, allocations: 62.94 kB / 1.526 GB, free: 4.191 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/1.125, allocations: 95.41 kB / 1.526 GB, free: 4.098 MB / 1.201 GB Notification: Performance of SimCode: time 8.21e-07/1.125, allocations: 0 / 1.526 GB, free: 4.098 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/1.157, allocations: 9.076 MB / 1.535 GB, free: 11.21 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.511/9.668, allocations: 4.062 kB / 1.535 GB, free: 11.21 MB / 1.217 GB " [Timeout remaining time 290] (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: 15.790573272039182]