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.001398/0.001398, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001514/0.001514, allocations: 216 kB / 22.25 MB, free: 4.855 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.607/1.607, allocations: 230.6 MB / 256 MB, free: 7.797 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.5/3.5, allocations: 0.5107 GB / 0.8158 GB, free: 17.89 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.002268/0.002268, allocations: 70.28 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.448, allocations: 181.9 MB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2152/0.6633, allocations: 147.7 MB / 1.508 GB, free: 9.422 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.003135/0.6664, allocations: 1.471 MB / 1.509 GB, free: 7.949 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.6667, allocations: 15.88 kB / 1.509 GB, free: 7.934 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.6672, allocations: 158.8 kB / 1.51 GB, free: 7.777 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.6693, allocations: 0.7001 MB / 1.51 GB, free: 7.074 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.6711, allocations: 0.6176 MB / 1.511 GB, free: 6.457 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0009343/0.6721, allocations: 0.7051 MB / 1.512 GB, free: 5.75 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.6725, allocations: 185.3 kB / 1.512 GB, free: 5.566 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.6736, allocations: 0.506 MB / 1.512 GB, free: 5.059 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004543/0.674, allocations: 211.1 kB / 1.512 GB, free: 4.852 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.506e-05/0.6741, allocations: 20 kB / 1.513 GB, free: 4.832 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.6756, allocations: 0.7089 MB / 1.513 GB, free: 4.121 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.6758, allocations: 115.6 kB / 1.513 GB, free: 4.008 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.6761, allocations: 139.4 kB / 1.513 GB, free: 3.871 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.6779, allocations: 0.6969 MB / 1.514 GB, free: 3.172 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.6779, allocations: 0 / 1.514 GB, free: 3.172 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.365e-06/0.6779, allocations: 3.938 kB / 1.514 GB, free: 3.168 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.151e-05/0.6779, allocations: 0 / 1.514 GB, free: 3.168 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.001659/0.6796, allocations: 0.5823 MB / 1.515 GB, free: 2.555 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.6796, allocations: 8.031 kB / 1.515 GB, free: 2.547 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.681, allocations: 151.6 kB / 1.515 GB, free: 2.398 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007211/0.6817, allocations: 272 kB / 1.515 GB, free: 2.105 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.6817, allocations: 20.44 kB / 1.515 GB, free: 2.086 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.6818, allocations: 20 kB / 1.515 GB, free: 2.066 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.6824, allocations: 287.4 kB / 1.515 GB, free: 1.766 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.6824, allocations: 0 / 1.515 GB, free: 1.766 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.6824, allocations: 4 kB / 1.515 GB, free: 1.762 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.6824, allocations: 8 kB / 1.515 GB, free: 1.754 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.6829, allocations: 199.8 kB / 1.516 GB, free: 1.559 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.6846, allocations: 0.9233 MB / 1.517 GB, free: 0.5898 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.6849, allocations: 130.4 kB / 1.517 GB, free: 464 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.6851, allocations: 84.81 kB / 1.517 GB, free: 376 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004824/0.6856, allocations: 75.91 kB / 1.517 GB, free: 300 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.6856, allocations: 30.56 kB / 1.517 GB, free: 260 kB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.654e-06/0.6856, allocations: 4 kB / 1.517 GB, free: 256 kB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0008663/0.6865, allocations: 277.5 kB / 1.517 GB, free: 15.97 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.6865, allocations: 51.41 kB / 1.517 GB, free: 15.91 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.6868, allocations: 249.9 kB / 1.517 GB, free: 15.66 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.6869, allocations: 33.7 kB / 1.517 GB, free: 15.62 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.687, allocations: 184.2 kB / 1.518 GB, free: 15.43 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/0.6871, allocations: 51.53 kB / 1.518 GB, free: 15.38 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.44e-05/0.6872, allocations: 45.7 kB / 1.518 GB, free: 15.33 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.6873, allocations: 334.8 kB / 1.518 GB, free: 15 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.6875, allocations: 63.95 kB / 1.518 GB, free: 14.93 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.6878, allocations: 194.8 kB / 1.518 GB, free: 14.71 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.6882, allocations: 207.8 kB / 1.518 GB, free: 14.49 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6882, allocations: 3.938 kB / 1.518 GB, free: 14.48 MB / 1.217 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000515/0.6887, allocations: 241.3 kB / 1.519 GB, free: 14.24 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.6887, allocations: 6.5 kB / 1.519 GB, free: 14.24 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6887, allocations: 4 kB / 1.519 GB, free: 14.23 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.6888, allocations: 4.094 kB / 1.519 GB, free: 14.23 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.689, allocations: 39.97 kB / 1.519 GB, free: 14.19 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.689, allocations: 4 kB / 1.519 GB, free: 14.19 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.6892, allocations: 23.88 kB / 1.519 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.6892, allocations: 15.94 kB / 1.519 GB, free: 14.15 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.0001648/0.6894, allocations: 149.8 kB / 1.519 GB, free: 13.99 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.6894, allocations: 19.86 kB / 1.519 GB, free: 13.97 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004932/0.6899, allocations: 221.9 kB / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.6899, allocations: 11.94 kB / 1.519 GB, free: 13.74 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6899, allocations: 0 / 1.519 GB, free: 13.74 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.6899, allocations: 0 / 1.519 GB, free: 13.74 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.6911, allocations: 0.6012 MB / 1.52 GB, free: 13.08 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6911, allocations: 8.219 kB / 1.52 GB, free: 13.07 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.6912, allocations: 31.92 kB / 1.52 GB, free: 13.04 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.6912, allocations: 0 / 1.52 GB, free: 13.04 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.6913, allocations: 8 kB / 1.52 GB, free: 13.04 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.6913, allocations: 7.938 kB / 1.52 GB, free: 13.03 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6913, allocations: 0 / 1.52 GB, free: 13.03 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007385/0.692, allocations: 425.1 kB / 1.52 GB, free: 12.57 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.6921, allocations: 47.89 kB / 1.52 GB, free: 12.53 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.6922, allocations: 4 kB / 1.52 GB, free: 12.52 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.6923, allocations: 15.92 kB / 1.52 GB, free: 12.51 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.6924, allocations: 11.98 kB / 1.52 GB, free: 12.5 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.6924, allocations: 7.984 kB / 1.52 GB, free: 12.49 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002005/0.6926, allocations: 181.2 kB / 1.52 GB, free: 12.31 MB / 1.217 GB Notification: Performance of sort global known variables: time 6e-08/0.6926, allocations: 0 / 1.52 GB, free: 12.31 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004486/0.6931, allocations: 79.83 kB / 1.521 GB, free: 12.23 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.0003353/0.6934, allocations: 155.1 kB / 1.521 GB, free: 12.07 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004713/0.6939, allocations: 167.8 kB / 1.521 GB, free: 11.9 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6939, allocations: 0 / 1.521 GB, free: 11.9 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.6941, allocations: 88.45 kB / 1.521 GB, free: 11.82 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007518/0.6948, allocations: 120.5 kB / 1.521 GB, free: 11.7 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.6961, allocations: 0.5903 MB / 1.522 GB, free: 11.06 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.6963, allocations: 174.7 kB / 1.522 GB, free: 10.88 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002135/0.6965, allocations: 54.27 kB / 1.522 GB, free: 10.82 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.6966, allocations: 23.42 kB / 1.522 GB, free: 10.8 MB / 1.217 GB Notification: Performance of SimCode: time 3.01e-07/0.6966, allocations: 0 / 1.522 GB, free: 10.8 MB / 1.217 GB Notification: Performance of Templates: time 0.0115/0.7081, allocations: 5.208 MB / 1.527 GB, free: 5.715 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/jenkins/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: 10.278699535876513]