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.001433/0.001433, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001668/0.001668, allocations: 217.7 kB / 22.26 MB, free: 5.082 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 8.016 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.987/2.987, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.00182/0.00182, allocations: 69.2 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3202, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1884/0.5085, allocations: 171 MB / 1.52 GB, free: 12.78 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.002794/0.5113, allocations: 1.588 MB / 1.521 GB, free: 11.19 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003679/0.5117, allocations: 15.88 kB / 1.521 GB, free: 11.17 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0005038/0.5122, allocations: 150.8 kB / 1.522 GB, free: 11.02 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.514, allocations: 0.7507 MB / 1.522 GB, free: 10.27 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.5156, allocations: 0.6322 MB / 1.523 GB, free: 9.641 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0009342/0.5165, allocations: 0.7254 MB / 1.524 GB, free: 8.914 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003861/0.5169, allocations: 193 kB / 1.524 GB, free: 8.723 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.518, allocations: 0.5177 MB / 1.524 GB, free: 8.203 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.5184, allocations: 235 kB / 1.525 GB, free: 7.973 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.5184, allocations: 24 kB / 1.525 GB, free: 7.949 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.5199, allocations: 0.9274 MB / 1.526 GB, free: 7.02 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.52, allocations: 123.6 kB / 1.526 GB, free: 6.898 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.5203, allocations: 163.2 kB / 1.526 GB, free: 6.738 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.5215, allocations: 0.7475 MB / 1.527 GB, free: 5.988 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5215, allocations: 4 kB / 1.527 GB, free: 5.984 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5215, allocations: 0 / 1.527 GB, free: 5.984 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.5215, allocations: 0 / 1.527 GB, free: 5.984 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.001063/0.5226, allocations: 0.5862 MB / 1.527 GB, free: 5.363 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5226, allocations: 15.97 kB / 1.527 GB, free: 5.348 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.597e-05/0.5227, allocations: 58.53 kB / 1.527 GB, free: 5.281 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.5238, allocations: 167.6 kB / 1.527 GB, free: 5.117 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.5243, allocations: 260.5 kB / 1.528 GB, free: 4.836 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.5243, allocations: 20.44 kB / 1.528 GB, free: 4.816 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.5244, allocations: 28 kB / 1.528 GB, free: 4.789 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.5249, allocations: 277.1 kB / 1.528 GB, free: 4.496 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.5249, allocations: 3.938 kB / 1.528 GB, free: 4.492 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.5249, allocations: 12 kB / 1.528 GB, free: 4.48 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.5249, allocations: 4 kB / 1.528 GB, free: 4.477 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.5253, allocations: 204.9 kB / 1.528 GB, free: 4.277 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.5269, allocations: 1.196 MB / 1.529 GB, free: 2.984 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.5272, allocations: 139.4 kB / 1.529 GB, free: 2.84 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.5273, allocations: 92.8 kB / 1.529 GB, free: 2.746 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000457/0.5278, allocations: 75.92 kB / 1.53 GB, free: 2.672 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.5278, allocations: 30.56 kB / 1.53 GB, free: 2.633 MB / 1.217 GB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.5278, allocations: 0 / 1.53 GB, free: 2.633 MB / 1.217 GB Notification: Performance of matching and sorting (n=17): time 0.0007676/0.5286, allocations: 295.5 kB / 1.53 GB, free: 2.34 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.5286, allocations: 59.34 kB / 1.53 GB, free: 2.27 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.529, allocations: 328.5 kB / 1.53 GB, free: 1.941 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.529, allocations: 33.64 kB / 1.53 GB, free: 1.902 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.5291, allocations: 180.3 kB / 1.53 GB, free: 1.723 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.5292, allocations: 67.42 kB / 1.531 GB, free: 1.656 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.271e-05/0.5293, allocations: 45.7 kB / 1.531 GB, free: 1.605 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5294, allocations: 342.8 kB / 1.531 GB, free: 1.262 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.5296, allocations: 63.95 kB / 1.531 GB, free: 1.199 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.5298, allocations: 130 kB / 1.531 GB, free: 1.055 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.5302, allocations: 201 kB / 1.531 GB, free: 0.8398 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5302, allocations: 0 / 1.531 GB, free: 0.8398 MB / 1.217 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004719/0.5306, allocations: 259.5 kB / 1.532 GB, free: 0.582 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.5306, allocations: 8.031 kB / 1.532 GB, free: 0.5742 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5306, allocations: 4 kB / 1.532 GB, free: 0.5703 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.5307, allocations: 4 kB / 1.532 GB, free: 0.5664 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.5309, allocations: 43.86 kB / 1.532 GB, free: 0.5234 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.5309, allocations: 4 kB / 1.532 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.5311, allocations: 31.77 kB / 1.532 GB, free: 500 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.5311, allocations: 15.98 kB / 1.532 GB, free: 484 kB / 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.0001584/0.5312, allocations: 161.6 kB / 1.532 GB, free: 312 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.5313, allocations: 31.81 kB / 1.532 GB, free: 280 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004773/0.5318, allocations: 230.6 kB / 1.532 GB, free: 40 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.5318, allocations: 4 kB / 1.532 GB, free: 36 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5318, allocations: 0 / 1.532 GB, free: 36 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5318, allocations: 0 / 1.532 GB, free: 36 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.5329, allocations: 0.6709 MB / 1.533 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5329, allocations: 0 / 1.533 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.533, allocations: 40.27 kB / 1.533 GB, free: 15.25 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.533, allocations: 8 kB / 1.533 GB, free: 15.25 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.5331, allocations: 15.92 kB / 1.533 GB, free: 15.23 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5331, allocations: 0 / 1.533 GB, free: 15.23 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.5331, allocations: 7.938 kB / 1.533 GB, free: 15.22 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006824/0.5338, allocations: 445.1 kB / 1.533 GB, free: 14.75 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.5339, allocations: 47.81 kB / 1.533 GB, free: 14.7 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.5339, allocations: 12.03 kB / 1.533 GB, free: 14.69 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.5341, allocations: 23.94 kB / 1.533 GB, free: 14.67 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.5341, allocations: 15.97 kB / 1.533 GB, free: 14.65 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.5341, allocations: 4 kB / 1.533 GB, free: 14.65 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002369/0.5344, allocations: 235 kB / 1.533 GB, free: 14.42 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5344, allocations: 0 / 1.533 GB, free: 14.42 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0003647/0.5347, allocations: 83.83 kB / 1.534 GB, free: 14.34 MB / 1.232 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.001104/0.5358, allocations: 1.033 MB / 1.535 GB, free: 13.25 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0004176/0.5363, allocations: 175.8 kB / 1.535 GB, free: 13.08 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5363, allocations: 0 / 1.535 GB, free: 13.08 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.5365, allocations: 91.95 kB / 1.535 GB, free: 12.99 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008139/0.5373, allocations: 164.2 kB / 1.535 GB, free: 12.84 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.5412, allocations: 3.004 MB / 1.538 GB, free: 9.684 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.5416, allocations: 0.7834 MB / 1.539 GB, free: 8.871 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.5418, allocations: 70.92 kB / 1.539 GB, free: 8.805 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.542, allocations: 87.41 kB / 1.539 GB, free: 8.719 MB / 1.232 GB Notification: Performance of SimCode: time 3.11e-07/0.542, allocations: 0 / 1.539 GB, free: 8.719 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03924/0.5812, allocations: 9.265 MB / 1.548 GB, free: 15.67 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.89, allocations: 9.172 kB / 1.548 GB, free: 15.66 MB / 1.248 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.999648554017767]