Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.001344/0.001344, allocations: 114.6 kB / 17.16 MB, free: 6.004 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.001534/0.001534, allocations: 212.6 kB / 20.13 MB, free: 3.055 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.46/1.46, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.82/2.82, allocations: 0.5003 GB / 0.8026 GB, free: 6.699 MB / 0.6387 GB " [Timeout remaining time 176] 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.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.002015/0.002015, allocations: 72.12 kB / 1.165 GB, free: 456 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8823/0.8843, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2154/1.1, allocations: 170.8 MB / 1.507 GB, free: 13.3 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00338/1.103, allocations: 1.568 MB / 1.509 GB, free: 11.73 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005937/1.104, allocations: 11.88 kB / 1.509 GB, free: 11.72 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006375/1.104, allocations: 146.9 kB / 1.509 GB, free: 11.58 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/1.106, allocations: 0.739 MB / 1.509 GB, free: 10.84 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/1.108, allocations: 0.6067 MB / 1.51 GB, free: 10.23 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0009967/1.109, allocations: 0.7012 MB / 1.511 GB, free: 9.527 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/1.109, allocations: 196.9 kB / 1.511 GB, free: 9.332 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/1.11, allocations: 0.4944 MB / 1.511 GB, free: 8.836 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/1.111, allocations: 227 kB / 1.512 GB, free: 8.613 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/1.111, allocations: 27.94 kB / 1.512 GB, free: 8.586 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/1.112, allocations: 0.9079 MB / 1.512 GB, free: 7.676 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/1.113, allocations: 115.7 kB / 1.513 GB, free: 7.562 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/1.113, allocations: 163.2 kB / 1.513 GB, free: 7.402 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/1.114, allocations: 0.7262 MB / 1.513 GB, free: 6.676 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.114, allocations: 0 / 1.513 GB, free: 6.676 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.844e-06/1.114, allocations: 0 / 1.513 GB, free: 6.676 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.349e-05/1.114, allocations: 4 kB / 1.513 GB, free: 6.672 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001068/1.115, allocations: 0.6653 MB / 1.514 GB, free: 5.957 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/1.115, allocations: 8.031 kB / 1.514 GB, free: 5.949 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.383e-05/1.115, allocations: 12.44 kB / 1.514 GB, free: 5.938 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.881e-05/1.115, allocations: 54.55 kB / 1.514 GB, free: 5.875 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/1.116, allocations: 155.6 kB / 1.514 GB, free: 5.723 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/1.117, allocations: 321.9 kB / 1.515 GB, free: 5.363 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/1.117, allocations: 16.44 kB / 1.515 GB, free: 5.348 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/1.117, allocations: 27.95 kB / 1.515 GB, free: 5.32 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/1.118, allocations: 279.3 kB / 1.515 GB, free: 5.027 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.118, allocations: 0 / 1.515 GB, free: 5.027 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/1.118, allocations: 11.94 kB / 1.515 GB, free: 5.016 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/1.118, allocations: 12 kB / 1.515 GB, free: 5.004 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/1.118, allocations: 191.8 kB / 1.515 GB, free: 4.816 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/1.12, allocations: 1.209 MB / 1.516 GB, free: 3.504 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/1.12, allocations: 126.5 kB / 1.516 GB, free: 3.371 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/1.12, allocations: 100.7 kB / 1.517 GB, free: 3.27 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005904/1.121, allocations: 295.2 kB / 1.517 GB, free: 2.926 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/1.121, allocations: 34.56 kB / 1.517 GB, free: 2.883 MB / 1.186 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/1.121, allocations: 0 / 1.517 GB, free: 2.883 MB / 1.186 GB Notification: Performance of matching and sorting (n=15): time 0.000813/1.122, allocations: 285.5 kB / 1.517 GB, free: 2.598 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/1.122, allocations: 55.34 kB / 1.517 GB, free: 2.531 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/1.122, allocations: 316.5 kB / 1.517 GB, free: 2.215 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/1.122, allocations: 25.7 kB / 1.517 GB, free: 2.184 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/1.122, allocations: 184.3 kB / 1.518 GB, free: 2 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/1.122, allocations: 55.59 kB / 1.518 GB, free: 1.945 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/1.122, allocations: 45.66 kB / 1.518 GB, free: 1.895 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.122, allocations: 338.8 kB / 1.518 GB, free: 1.555 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/1.123, allocations: 71.94 kB / 1.518 GB, free: 1.484 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/1.123, allocations: 117 kB / 1.518 GB, free: 1.352 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/1.123, allocations: 195.7 kB / 1.518 GB, free: 1.145 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.123, allocations: 0 / 1.518 GB, free: 1.145 MB / 1.186 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004997/1.124, allocations: 245.3 kB / 1.519 GB, free: 0.8984 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.124, allocations: 8 kB / 1.519 GB, free: 0.8906 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.124, allocations: 0 / 1.519 GB, free: 0.8906 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.124, allocations: 4 kB / 1.519 GB, free: 0.8867 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/1.124, allocations: 43.91 kB / 1.519 GB, free: 0.8438 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.124, allocations: 0 / 1.519 GB, free: 0.8438 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/1.124, allocations: 35.77 kB / 1.519 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/1.124, allocations: 12.09 kB / 1.519 GB, free: 0.7969 MB / 1.186 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 (22): * Single equations (assignments): 22 * 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.0001478/1.124, allocations: 149.8 kB / 1.519 GB, free: 0.6406 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/1.124, allocations: 35.75 kB / 1.519 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/1.125, allocations: 214.2 kB / 1.519 GB, free: 404 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.125, allocations: 0 / 1.519 GB, free: 404 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.125, allocations: 3.984 kB / 1.519 GB, free: 400 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/1.125, allocations: 0 / 1.519 GB, free: 400 kB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/1.126, allocations: 0.6914 MB / 1.52 GB, free: 15.62 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.126, allocations: 4.031 kB / 1.52 GB, free: 15.62 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/1.126, allocations: 35.86 kB / 1.52 GB, free: 15.58 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/1.126, allocations: 8 kB / 1.52 GB, free: 15.57 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/1.126, allocations: 8 kB / 1.52 GB, free: 15.57 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/1.126, allocations: 7.984 kB / 1.52 GB, free: 15.56 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.126, allocations: 0 / 1.52 GB, free: 15.56 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007399/1.127, allocations: 429.1 kB / 1.52 GB, free: 15.1 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/1.127, allocations: 125 kB / 1.52 GB, free: 14.96 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/1.127, allocations: 8.062 kB / 1.52 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/1.127, allocations: 15.98 kB / 1.52 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/1.127, allocations: 15.91 kB / 1.52 GB, free: 14.92 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/1.127, allocations: 8 kB / 1.52 GB, free: 14.91 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002359/1.128, allocations: 227 kB / 1.521 GB, free: 14.7 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/1.128, allocations: 0 / 1.521 GB, free: 14.7 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004219/1.128, allocations: 75.94 kB / 1.521 GB, free: 14.62 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 (15): * Single equations (assignments): 15 * 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.001217/1.129, allocations: 1.016 MB / 1.522 GB, free: 13.55 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004726/1.13, allocations: 167.9 kB / 1.522 GB, free: 13.39 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.13, allocations: 0 / 1.522 GB, free: 13.39 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/1.13, allocations: 83.83 kB / 1.522 GB, free: 13.31 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009502/1.131, allocations: 161.2 kB / 1.522 GB, free: 13.15 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/1.135, allocations: 2.92 MB / 1.525 GB, free: 10.09 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/1.135, allocations: 0.7795 MB / 1.526 GB, free: 9.289 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002482/1.135, allocations: 66.88 kB / 1.526 GB, free: 9.223 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/1.136, allocations: 87.41 kB / 1.526 GB, free: 9.137 MB / 1.201 GB Notification: Performance of SimCode: time 1.623e-06/1.136, allocations: 0 / 1.526 GB, free: 9.137 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/1.168, allocations: 8.872 MB / 1.535 GB, free: 472 kB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.467/9.635, allocations: 10.09 kB / 1.535 GB, free: 464 kB / 1.201 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.835413342982065]