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.001293/0.001293, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001495/0.001495, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 3.34/3.34, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 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: 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.002082/0.002082, allocations: 72 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4055, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1964/0.6019, allocations: 147.6 MB / 1.509 GB, free: 9.371 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00328/0.6052, allocations: 1.479 MB / 1.51 GB, free: 7.891 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004406/0.6056, allocations: 15.88 kB / 1.51 GB, free: 7.875 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005938/0.6062, allocations: 158.8 kB / 1.51 GB, free: 7.719 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.6083, allocations: 0.7001 MB / 1.511 GB, free: 7.016 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.6101, allocations: 0.6138 MB / 1.512 GB, free: 6.402 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.6112, allocations: 0.709 MB / 1.512 GB, free: 5.691 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000486/0.6117, allocations: 185.3 kB / 1.513 GB, free: 5.508 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.6129, allocations: 0.506 MB / 1.513 GB, free: 5 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004482/0.6133, allocations: 215.1 kB / 1.513 GB, free: 4.789 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.6134, allocations: 20 kB / 1.513 GB, free: 4.77 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.6148, allocations: 0.705 MB / 1.514 GB, free: 4.062 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.6149, allocations: 115.6 kB / 1.514 GB, free: 3.949 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.6151, allocations: 143.4 kB / 1.514 GB, free: 3.809 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.6161, allocations: 0.6891 MB / 1.515 GB, free: 3.117 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6161, allocations: 0 / 1.515 GB, free: 3.117 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6161, allocations: 0 / 1.515 GB, free: 3.117 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.6162, allocations: 0 / 1.515 GB, free: 3.117 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.001002/0.6172, allocations: 0.5823 MB / 1.515 GB, free: 2.504 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.6172, allocations: 8.031 kB / 1.515 GB, free: 2.496 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.6183, allocations: 159.6 kB / 1.516 GB, free: 2.34 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.6189, allocations: 256 kB / 1.516 GB, free: 2.062 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.6189, allocations: 20.44 kB / 1.516 GB, free: 2.043 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.6189, allocations: 24 kB / 1.516 GB, free: 2.02 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.6195, allocations: 283.4 kB / 1.516 GB, free: 1.723 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.6195, allocations: 3.984 kB / 1.516 GB, free: 1.719 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.6195, allocations: 4 kB / 1.516 GB, free: 1.715 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.6195, allocations: 8 kB / 1.516 GB, free: 1.707 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.6199, allocations: 195.8 kB / 1.516 GB, free: 1.516 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.6213, allocations: 0.9349 MB / 1.517 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.6216, allocations: 122.5 kB / 1.517 GB, free: 416 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.6218, allocations: 88.8 kB / 1.518 GB, free: 324 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000451/0.6222, allocations: 67.92 kB / 1.518 GB, free: 256 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.6223, allocations: 38.56 kB / 1.518 GB, free: 208 kB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/0.6223, allocations: 0 / 1.518 GB, free: 208 kB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0007941/0.6231, allocations: 279.5 kB / 1.518 GB, free: 15.93 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.6231, allocations: 51.41 kB / 1.518 GB, free: 15.86 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.6234, allocations: 249.9 kB / 1.518 GB, free: 15.61 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.6235, allocations: 33.7 kB / 1.518 GB, free: 15.57 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.6236, allocations: 184.2 kB / 1.518 GB, free: 15.39 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.6237, allocations: 51.53 kB / 1.518 GB, free: 15.34 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.753e-05/0.6237, allocations: 45.7 kB / 1.518 GB, free: 15.29 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.6239, allocations: 338.8 kB / 1.519 GB, free: 14.95 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.6241, allocations: 63.95 kB / 1.519 GB, free: 14.88 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.6244, allocations: 203.2 kB / 1.519 GB, free: 14.65 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.6247, allocations: 193 kB / 1.519 GB, free: 14.44 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6247, allocations: 4 kB / 1.519 GB, free: 14.44 MB / 1.217 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005176/0.6253, allocations: 243.2 kB / 1.519 GB, free: 14.2 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.6253, allocations: 8 kB / 1.519 GB, free: 14.19 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6253, allocations: 0 / 1.519 GB, free: 14.19 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.6253, allocations: 8.094 kB / 1.519 GB, free: 14.18 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.6255, allocations: 39.97 kB / 1.52 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.6255, allocations: 0 / 1.52 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.6257, allocations: 24.02 kB / 1.52 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.6257, allocations: 12 kB / 1.52 GB, free: 14.11 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.0001635/0.6259, allocations: 153.7 kB / 1.52 GB, free: 13.95 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.6259, allocations: 31.84 kB / 1.52 GB, free: 13.91 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005006/0.6264, allocations: 211.2 kB / 1.52 GB, free: 13.7 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.6264, allocations: 8 kB / 1.52 GB, free: 13.7 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6264, allocations: 0 / 1.52 GB, free: 13.7 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.6264, allocations: 0 / 1.52 GB, free: 13.7 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.6275, allocations: 0.6012 MB / 1.521 GB, free: 13.04 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6275, allocations: 8.219 kB / 1.521 GB, free: 13.03 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.6277, allocations: 31.92 kB / 1.521 GB, free: 13 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.6277, allocations: 4 kB / 1.521 GB, free: 12.99 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.6277, allocations: 4 kB / 1.521 GB, free: 12.99 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.6277, allocations: 11.92 kB / 1.521 GB, free: 12.98 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6277, allocations: 4 kB / 1.521 GB, free: 12.97 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006887/0.6284, allocations: 423.3 kB / 1.521 GB, free: 12.52 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.6285, allocations: 43.84 kB / 1.521 GB, free: 12.48 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.6286, allocations: 8 kB / 1.521 GB, free: 12.47 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.6287, allocations: 7.938 kB / 1.521 GB, free: 12.46 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.6288, allocations: 19.97 kB / 1.521 GB, free: 12.45 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.6288, allocations: 4 kB / 1.521 GB, free: 12.44 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001917/0.629, allocations: 185.1 kB / 1.521 GB, free: 12.26 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.629, allocations: 0 / 1.521 GB, free: 12.26 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004259/0.6294, allocations: 83.83 kB / 1.521 GB, free: 12.18 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.0002667/0.6297, allocations: 143.1 kB / 1.521 GB, free: 12.02 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004398/0.6301, allocations: 167.8 kB / 1.522 GB, free: 11.86 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6301, allocations: 0 / 1.522 GB, free: 11.86 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.6303, allocations: 84.45 kB / 1.522 GB, free: 11.78 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/0.631, allocations: 132.4 kB / 1.522 GB, free: 11.65 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.6321, allocations: 0.6232 MB / 1.522 GB, free: 10.97 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.6323, allocations: 170.7 kB / 1.523 GB, free: 10.79 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.845e-05/0.6324, allocations: 23.44 kB / 1.523 GB, free: 10.77 MB / 1.217 GB Notification: Performance of SimCode: time 4.71e-07/0.6324, allocations: 0 / 1.523 GB, free: 10.77 MB / 1.217 GB Notification: Performance of Templates: time 0.007746/0.6401, allocations: 4.367 MB / 1.527 GB, free: 6.441 MB / 1.217 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: 12.662416626233608]