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.001237/0.001237, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001311/0.001311, allocations: 215.1 kB / 22.25 MB, free: 5.242 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.323/1.323, allocations: 230.6 MB / 256 MB, free: 7.789 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.93/2.93, 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.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.001916/0.001916, allocations: 72.3 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2945, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1868/0.4812, allocations: 147.6 MB / 1.508 GB, free: 9.922 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.002788/0.484, allocations: 1.481 MB / 1.509 GB, free: 8.438 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003771/0.4844, allocations: 19.81 kB / 1.509 GB, free: 8.418 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005323/0.4849, allocations: 154.8 kB / 1.509 GB, free: 8.266 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.4868, allocations: 0.6962 MB / 1.51 GB, free: 7.566 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.4884, allocations: 0.6288 MB / 1.51 GB, free: 6.941 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.4895, allocations: 0.709 MB / 1.511 GB, free: 6.23 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004139/0.4899, allocations: 177.3 kB / 1.511 GB, free: 6.055 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.491, allocations: 0.5061 MB / 1.512 GB, free: 5.547 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004807/0.4915, allocations: 223 kB / 1.512 GB, free: 5.328 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.931e-05/0.4916, allocations: 20 kB / 1.512 GB, free: 5.309 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.493, allocations: 0.705 MB / 1.513 GB, free: 4.602 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.4931, allocations: 107.7 kB / 1.513 GB, free: 4.496 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.4933, allocations: 147.3 kB / 1.513 GB, free: 4.352 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.4944, allocations: 0.6814 MB / 1.514 GB, free: 3.668 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4944, allocations: 0 / 1.514 GB, free: 3.668 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4944, allocations: 4 kB / 1.514 GB, free: 3.664 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.4944, allocations: 0 / 1.514 GB, free: 3.664 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001083/0.4955, allocations: 0.5939 MB / 1.514 GB, free: 3.039 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.4955, allocations: 8.031 kB / 1.514 GB, free: 3.031 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.8e-05/0.4956, allocations: 54.55 kB / 1.514 GB, free: 2.969 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.4967, allocations: 155.6 kB / 1.514 GB, free: 2.816 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.4972, allocations: 256.1 kB / 1.515 GB, free: 2.539 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.4973, allocations: 20.44 kB / 1.515 GB, free: 2.52 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.4973, allocations: 20 kB / 1.515 GB, free: 2.5 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.4978, allocations: 279.4 kB / 1.515 GB, free: 2.207 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4978, allocations: 4 kB / 1.515 GB, free: 2.203 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.4978, allocations: 8 kB / 1.515 GB, free: 2.195 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.4979, allocations: 8 kB / 1.515 GB, free: 2.188 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.4983, allocations: 207.7 kB / 1.515 GB, free: 1.984 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.4998, allocations: 0.9773 MB / 1.516 GB, free: 0.9492 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.5001, allocations: 126.5 kB / 1.516 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.5002, allocations: 84.81 kB / 1.516 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004562/0.5007, allocations: 76.12 kB / 1.516 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.5007, allocations: 38.56 kB / 1.516 GB, free: 0.6094 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/0.5007, allocations: 0 / 1.516 GB, free: 0.6094 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0007717/0.5015, allocations: 283.5 kB / 1.517 GB, free: 336 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.5015, allocations: 51.41 kB / 1.517 GB, free: 272 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.5019, allocations: 324.4 kB / 1.517 GB, free: 15.94 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.5019, allocations: 25.7 kB / 1.517 GB, free: 15.91 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.5021, allocations: 184.2 kB / 1.517 GB, free: 15.73 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.5021, allocations: 59.56 kB / 1.517 GB, free: 15.67 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.5022, allocations: 41.7 kB / 1.517 GB, free: 15.62 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.5023, allocations: 338.8 kB / 1.518 GB, free: 15.28 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.5025, allocations: 67.95 kB / 1.518 GB, free: 15.21 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.5028, allocations: 194.1 kB / 1.518 GB, free: 14.99 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.5032, allocations: 200.9 kB / 1.518 GB, free: 14.77 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5032, allocations: 4 kB / 1.518 GB, free: 14.77 MB / 1.217 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004829/0.5037, allocations: 249.3 kB / 1.518 GB, free: 14.52 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.5037, allocations: 4 kB / 1.518 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5038, allocations: 7.984 kB / 1.518 GB, free: 14.51 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5038, allocations: 0 / 1.518 GB, free: 14.51 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.504, allocations: 48.06 kB / 1.518 GB, free: 14.46 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.504, allocations: 7.938 kB / 1.518 GB, free: 14.45 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.5042, allocations: 27.78 kB / 1.519 GB, free: 14.43 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.5042, allocations: 11.98 kB / 1.519 GB, free: 14.41 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 (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.0001716/0.5044, allocations: 149.8 kB / 1.519 GB, free: 14.26 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.5044, allocations: 27.81 kB / 1.519 GB, free: 14.23 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.5049, allocations: 220.2 kB / 1.519 GB, free: 14.01 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.5049, allocations: 0 / 1.519 GB, free: 14.01 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5049, allocations: 4 kB / 1.519 GB, free: 14 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5049, allocations: 0 / 1.519 GB, free: 14 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.5061, allocations: 0.6358 MB / 1.52 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5062, allocations: 4 kB / 1.52 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.5063, allocations: 40.08 kB / 1.52 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.5063, allocations: 7.938 kB / 1.52 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.5063, allocations: 0 / 1.52 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.5063, allocations: 4 kB / 1.52 GB, free: 13.24 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.5063, allocations: 4 kB / 1.52 GB, free: 13.24 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007159/0.5071, allocations: 431.6 kB / 1.52 GB, free: 12.78 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.5072, allocations: 51.75 kB / 1.52 GB, free: 12.73 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.5072, allocations: 12.06 kB / 1.52 GB, free: 12.72 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.5074, allocations: 8 kB / 1.52 GB, free: 12.71 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.5075, allocations: 23.91 kB / 1.52 GB, free: 12.69 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.5075, allocations: 4 kB / 1.52 GB, free: 12.68 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002479/0.5077, allocations: 227 kB / 1.52 GB, free: 12.46 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5077, allocations: 0 / 1.52 GB, free: 12.46 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003863/0.5081, allocations: 83.89 kB / 1.52 GB, free: 12.38 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 (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.001178/0.5093, allocations: 1.007 MB / 1.521 GB, free: 11.32 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004174/0.5097, allocations: 163.8 kB / 1.522 GB, free: 11.16 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5097, allocations: 0 / 1.522 GB, free: 11.16 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.5099, allocations: 84.39 kB / 1.522 GB, free: 11.08 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008552/0.5107, allocations: 171.8 kB / 1.522 GB, free: 10.91 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/0.5147, allocations: 2.905 MB / 1.525 GB, free: 7.863 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.5149, allocations: 175.1 kB / 1.525 GB, free: 7.672 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002153/0.5151, allocations: 62.94 kB / 1.525 GB, free: 7.613 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.5153, allocations: 83.42 kB / 1.525 GB, free: 7.531 MB / 1.217 GB Notification: Performance of SimCode: time 9.02e-07/0.5153, allocations: 7.938 kB / 1.525 GB, free: 7.523 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03927/0.5546, allocations: 9.993 MB / 1.535 GB, free: 13.82 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/11.01, allocations: 9.844 kB / 1.535 GB, free: 13.81 MB / 1.232 GB " [Timeout remaining time 289] (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: 16.987853148952127]