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.001452/0.001452, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001536/0.001536, allocations: 219 kB / 22.26 MB, free: 5.125 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.335/1.335, allocations: 230.6 MB / 256 MB, free: 8.004 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.976/2.976, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.001899/0.001899, allocations: 64.03 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2968, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1846/0.4814, allocations: 171 MB / 1.52 GB, free: 12.82 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.002722/0.4841, allocations: 1.574 MB / 1.521 GB, free: 11.25 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003491/0.4844, allocations: 15.88 kB / 1.521 GB, free: 11.23 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004826/0.4849, allocations: 142.9 kB / 1.522 GB, free: 11.09 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.4866, allocations: 0.7468 MB / 1.522 GB, free: 10.34 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.4882, allocations: 0.6334 MB / 1.523 GB, free: 9.707 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0009474/0.4891, allocations: 0.7051 MB / 1.524 GB, free: 9 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.4895, allocations: 197 kB / 1.524 GB, free: 8.805 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.4905, allocations: 0.5022 MB / 1.524 GB, free: 8.301 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.4909, allocations: 227 kB / 1.524 GB, free: 8.078 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.4909, allocations: 24 kB / 1.525 GB, free: 8.055 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.4924, allocations: 0.9274 MB / 1.525 GB, free: 7.125 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.4925, allocations: 111.7 kB / 1.526 GB, free: 7.016 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.4927, allocations: 167.2 kB / 1.526 GB, free: 6.852 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.4939, allocations: 0.7203 MB / 1.526 GB, free: 6.129 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4939, allocations: 4 kB / 1.526 GB, free: 6.125 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4939, allocations: 0 / 1.526 GB, free: 6.125 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.629e-06/0.4939, allocations: 4 kB / 1.526 GB, free: 6.121 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009755/0.4949, allocations: 0.584 MB / 1.527 GB, free: 5.508 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4949, allocations: 12.03 kB / 1.527 GB, free: 5.496 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.144e-05/0.495, allocations: 58.53 kB / 1.527 GB, free: 5.43 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.4961, allocations: 159.6 kB / 1.527 GB, free: 5.273 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.4965, allocations: 252.1 kB / 1.527 GB, free: 5 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/0.4966, allocations: 20.44 kB / 1.527 GB, free: 4.98 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.4966, allocations: 23.95 kB / 1.527 GB, free: 4.957 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.4971, allocations: 279.4 kB / 1.528 GB, free: 4.66 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4971, allocations: 0 / 1.528 GB, free: 4.66 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.4971, allocations: 12 kB / 1.528 GB, free: 4.648 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4971, allocations: 4 kB / 1.528 GB, free: 4.645 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.4975, allocations: 203.7 kB / 1.528 GB, free: 4.445 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.4989, allocations: 1.175 MB / 1.529 GB, free: 3.176 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.4991, allocations: 126.5 kB / 1.529 GB, free: 3.043 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.4993, allocations: 88.8 kB / 1.529 GB, free: 2.953 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004504/0.4997, allocations: 80.14 kB / 1.529 GB, free: 2.875 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.4998, allocations: 30.56 kB / 1.529 GB, free: 2.836 MB / 1.217 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.4998, allocations: 0 / 1.529 GB, free: 2.836 MB / 1.217 GB Notification: Performance of matching and sorting (n=15): time 0.0007292/0.5005, allocations: 287.2 kB / 1.53 GB, free: 2.551 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.5005, allocations: 51.41 kB / 1.53 GB, free: 2.488 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.5009, allocations: 320.5 kB / 1.53 GB, free: 2.168 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.5009, allocations: 29.7 kB / 1.53 GB, free: 2.133 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.501, allocations: 180.3 kB / 1.53 GB, free: 1.949 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.5011, allocations: 55.52 kB / 1.53 GB, free: 1.895 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/0.5011, allocations: 49.66 kB / 1.53 GB, free: 1.84 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5013, allocations: 338.8 kB / 1.531 GB, free: 1.5 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.5014, allocations: 71.94 kB / 1.531 GB, free: 1.43 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.5016, allocations: 122.7 kB / 1.531 GB, free: 1.293 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.502, allocations: 189 kB / 1.531 GB, free: 1.09 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.502, allocations: 4 kB / 1.531 GB, free: 1.086 MB / 1.217 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004346/0.5024, allocations: 239.4 kB / 1.531 GB, free: 0.8477 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5024, allocations: 8.094 kB / 1.531 GB, free: 0.8398 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.5024, allocations: 4 kB / 1.531 GB, free: 0.8359 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.5024, allocations: 4 kB / 1.531 GB, free: 0.832 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.5026, allocations: 43.91 kB / 1.531 GB, free: 0.7891 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.5026, allocations: 7.984 kB / 1.531 GB, free: 0.7812 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.5028, allocations: 31.77 kB / 1.531 GB, free: 0.75 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.5028, allocations: 12 kB / 1.531 GB, free: 0.7383 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.0001391/0.503, allocations: 149.7 kB / 1.532 GB, free: 0.582 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.503, allocations: 39.75 kB / 1.532 GB, free: 0.543 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004423/0.5035, allocations: 212.3 kB / 1.532 GB, free: 332 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5035, allocations: 4 kB / 1.532 GB, free: 328 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5035, allocations: 7.922 kB / 1.532 GB, free: 320 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5035, allocations: 0 / 1.532 GB, free: 320 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.5045, allocations: 0.6552 MB / 1.532 GB, free: 15.59 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5045, allocations: 4 kB / 1.532 GB, free: 15.58 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.5047, allocations: 35.86 kB / 1.532 GB, free: 15.55 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.5047, allocations: 8.156 kB / 1.532 GB, free: 15.54 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.5047, allocations: 12 kB / 1.532 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5047, allocations: 0 / 1.532 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.5047, allocations: 4 kB / 1.532 GB, free: 15.52 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/0.5054, allocations: 427.8 kB / 1.533 GB, free: 15.07 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.5055, allocations: 51.7 kB / 1.533 GB, free: 15.02 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.5055, allocations: 7.984 kB / 1.533 GB, free: 15.01 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.5057, allocations: 12 kB / 1.533 GB, free: 15 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.5057, allocations: 24.11 kB / 1.533 GB, free: 14.98 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.5057, allocations: 8 kB / 1.533 GB, free: 14.97 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002162/0.5059, allocations: 227 kB / 1.533 GB, free: 14.75 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5059, allocations: 0 / 1.533 GB, free: 14.75 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0003622/0.5063, allocations: 75.94 kB / 1.533 GB, free: 14.68 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 (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.001047/0.5073, allocations: 1.011 MB / 1.534 GB, free: 13.61 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0004027/0.5078, allocations: 167.8 kB / 1.534 GB, free: 13.45 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5078, allocations: 0 / 1.534 GB, free: 13.45 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.5079, allocations: 88.2 kB / 1.534 GB, free: 13.36 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008005/0.5087, allocations: 157.2 kB / 1.535 GB, free: 13.21 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.5122, allocations: 2.909 MB / 1.537 GB, free: 10.16 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.5126, allocations: 0.7795 MB / 1.538 GB, free: 9.348 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.5128, allocations: 70.92 kB / 1.538 GB, free: 9.277 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.5129, allocations: 83.41 kB / 1.538 GB, free: 9.195 MB / 1.232 GB Notification: Performance of SimCode: time 3.11e-07/0.5129, allocations: 3.938 kB / 1.538 GB, free: 9.191 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.5506, allocations: 9.047 MB / 1.547 GB, free: 364 kB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.82, allocations: 15.44 kB / 1.547 GB, free: 352 kB / 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.957475593080744]