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.001206/0.001206, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001415/0.001415, allocations: 219.1 kB / 23.01 MB, free: 4.605 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.315/1.315, allocations: 230.6 MB / 256.8 MB, free: 8 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.959/2.959, allocations: 0.505 GB / 0.8108 GB, free: 22.01 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: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [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.001864/0.001864, allocations: 63.83 kB / 1.178 GB, free: 16.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3064, allocations: 180.2 MB / 1.354 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1852/0.4916, allocations: 171 MB / 1.521 GB, free: 12.29 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.00277/0.4943, allocations: 1.566 MB / 1.523 GB, free: 10.71 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.4946, allocations: 19.81 kB / 1.523 GB, free: 10.7 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004633/0.495, allocations: 150.9 kB / 1.523 GB, free: 10.55 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.4966, allocations: 0.7391 MB / 1.524 GB, free: 9.805 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.4981, allocations: 0.6387 MB / 1.524 GB, free: 9.168 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0007979/0.4989, allocations: 0.7012 MB / 1.525 GB, free: 8.465 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.4992, allocations: 193 kB / 1.525 GB, free: 8.273 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008959/0.5001, allocations: 0.5022 MB / 1.525 GB, free: 7.77 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.5004, allocations: 231 kB / 1.526 GB, free: 7.543 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 4.615e-05/0.5005, allocations: 24 kB / 1.526 GB, free: 7.52 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.5018, allocations: 0.9274 MB / 1.527 GB, free: 6.59 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.502, allocations: 115.7 kB / 1.527 GB, free: 6.477 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.5021, allocations: 159.2 kB / 1.527 GB, free: 6.32 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0009673/0.5031, allocations: 0.7281 MB / 1.528 GB, free: 5.59 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5031, allocations: 0 / 1.528 GB, free: 5.59 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5031, allocations: 4 kB / 1.528 GB, free: 5.586 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.5031, allocations: 0 / 1.528 GB, free: 5.586 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.0008882/0.504, allocations: 0.5784 MB / 1.528 GB, free: 4.977 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.504, allocations: 8.031 kB / 1.528 GB, free: 4.969 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.5051, allocations: 155.6 kB / 1.528 GB, free: 4.816 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/0.5056, allocations: 260 kB / 1.529 GB, free: 4.535 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.5056, allocations: 20.44 kB / 1.529 GB, free: 4.516 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.5056, allocations: 27.89 kB / 1.529 GB, free: 4.488 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.5061, allocations: 283.4 kB / 1.529 GB, free: 4.188 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5061, allocations: 0 / 1.529 GB, free: 4.188 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.5062, allocations: 12 kB / 1.529 GB, free: 4.176 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.5062, allocations: 4 kB / 1.529 GB, free: 4.172 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/0.5066, allocations: 199.8 kB / 1.529 GB, free: 3.977 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.508, allocations: 1.171 MB / 1.53 GB, free: 2.711 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.5082, allocations: 138.4 kB / 1.53 GB, free: 2.566 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.5084, allocations: 84.8 kB / 1.53 GB, free: 2.48 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004603/0.5089, allocations: 76.2 kB / 1.531 GB, free: 2.406 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.5089, allocations: 34.5 kB / 1.531 GB, free: 2.363 MB / 1.217 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.5089, allocations: 0 / 1.531 GB, free: 2.363 MB / 1.217 GB Notification: Performance of matching and sorting (n=15): time 0.0007428/0.5097, allocations: 283 kB / 1.531 GB, free: 2.082 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.5097, allocations: 59.34 kB / 1.531 GB, free: 2.012 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.51, allocations: 316.5 kB / 1.531 GB, free: 1.695 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.5101, allocations: 33.7 kB / 1.531 GB, free: 1.656 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.5102, allocations: 180.3 kB / 1.531 GB, free: 1.473 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.5103, allocations: 47.53 kB / 1.531 GB, free: 1.426 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.711e-05/0.5103, allocations: 53.66 kB / 1.532 GB, free: 1.367 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5105, allocations: 334.8 kB / 1.532 GB, free: 1.031 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.5107, allocations: 67.95 kB / 1.532 GB, free: 0.9648 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.5109, allocations: 126.1 kB / 1.532 GB, free: 0.8242 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.5112, allocations: 193 kB / 1.532 GB, free: 0.6172 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5112, allocations: 0 / 1.532 GB, free: 0.6172 MB / 1.217 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004388/0.5116, allocations: 235.8 kB / 1.532 GB, free: 392 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5117, allocations: 8 kB / 1.532 GB, free: 384 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.5117, allocations: 0 / 1.532 GB, free: 384 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5117, allocations: 8.094 kB / 1.532 GB, free: 376 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.5119, allocations: 47.91 kB / 1.532 GB, free: 328 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.5119, allocations: 0 / 1.532 GB, free: 328 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.512, allocations: 35.77 kB / 1.533 GB, free: 292 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.5121, allocations: 8 kB / 1.533 GB, free: 284 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 (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.0001472/0.5122, allocations: 157.6 kB / 1.533 GB, free: 116 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.5123, allocations: 31.81 kB / 1.533 GB, free: 84 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.5127, allocations: 226.6 kB / 1.533 GB, free: 15.85 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.5127, allocations: 4 kB / 1.533 GB, free: 15.85 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5127, allocations: 0 / 1.533 GB, free: 15.85 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5128, allocations: 0 / 1.533 GB, free: 15.85 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.5138, allocations: 0.6591 MB / 1.534 GB, free: 15.12 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.5138, allocations: 4 kB / 1.534 GB, free: 15.11 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.5139, allocations: 35.97 kB / 1.534 GB, free: 15.08 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.5139, allocations: 11.88 kB / 1.534 GB, free: 15.07 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.514, allocations: 4.078 kB / 1.534 GB, free: 15.06 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.514, allocations: 12.16 kB / 1.534 GB, free: 15.05 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.514, allocations: 4 kB / 1.534 GB, free: 15.05 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.5146, allocations: 429.1 kB / 1.534 GB, free: 14.59 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.5147, allocations: 47.77 kB / 1.534 GB, free: 14.54 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.5147, allocations: 11.94 kB / 1.534 GB, free: 14.53 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.5149, allocations: 11.98 kB / 1.534 GB, free: 14.52 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.5149, allocations: 20.05 kB / 1.534 GB, free: 14.5 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.5149, allocations: 4 kB / 1.534 GB, free: 14.5 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002178/0.5152, allocations: 227 kB / 1.534 GB, free: 14.28 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.5152, allocations: 0 / 1.534 GB, free: 14.28 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0003701/0.5155, allocations: 79.92 kB / 1.534 GB, free: 14.2 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.0002764/0.5158, allocations: 143.1 kB / 1.535 GB, free: 14.05 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.000413/0.5162, allocations: 171.8 kB / 1.535 GB, free: 13.88 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5162, allocations: 4 kB / 1.535 GB, free: 13.88 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.5164, allocations: 83.83 kB / 1.535 GB, free: 13.79 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008018/0.5172, allocations: 165.7 kB / 1.535 GB, free: 13.64 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.5182, allocations: 0.6387 MB / 1.536 GB, free: 12.94 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.5186, allocations: 0.7717 MB / 1.536 GB, free: 12.14 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.5187, allocations: 31.44 kB / 1.536 GB, free: 12.11 MB / 1.232 GB Notification: Performance of SimCode: time 3.81e-07/0.5187, allocations: 0 / 1.536 GB, free: 12.11 MB / 1.232 GB Notification: Performance of Templates: time 0.007407/0.5261, allocations: 4.838 MB / 1.541 GB, free: 7.32 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 800] 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: 11.188966350018745]