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.001844/0.001844, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.002232/0.002232, allocations: 156.5 kB / 23 MB, free: 4.949 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.464/1.464, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.978/2.978, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 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.002225/0.002225, allocations: 67.84 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8921/0.8944, allocations: 181.8 MB / 1.187 GB, free: 16.14 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1966/1.091, allocations: 147.7 MB / 1.331 GB, free: 2.191 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003118/1.094, allocations: 1.469 MB / 1.332 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/1.094, allocations: 23.81 kB / 1.332 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005275/1.095, allocations: 158.8 kB / 1.332 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/1.097, allocations: 0.6923 MB / 1.333 GB, free: 15.84 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/1.098, allocations: 0.6301 MB / 1.334 GB, free: 15.21 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008806/1.099, allocations: 0.6974 MB / 1.334 GB, free: 14.52 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/1.099, allocations: 193 kB / 1.335 GB, free: 14.33 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/1.1, allocations: 0.5021 MB / 1.335 GB, free: 13.83 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/1.101, allocations: 223 kB / 1.335 GB, free: 13.61 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/1.101, allocations: 20 kB / 1.335 GB, free: 13.59 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/1.102, allocations: 0.7051 MB / 1.336 GB, free: 12.88 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/1.102, allocations: 123.6 kB / 1.336 GB, free: 12.76 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/1.102, allocations: 143.3 kB / 1.336 GB, free: 12.62 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/1.103, allocations: 0.6813 MB / 1.337 GB, free: 11.94 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/1.103, allocations: 0 / 1.337 GB, free: 11.94 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.262e-06/1.103, allocations: 0 / 1.337 GB, free: 11.94 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.522e-06/1.104, allocations: 0 / 1.337 GB, free: 11.94 MB / 1.186 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.0009815/1.104, allocations: 0.5901 MB / 1.337 GB, free: 11.32 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/1.105, allocations: 8.031 kB / 1.337 GB, free: 11.31 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/1.106, allocations: 163.6 kB / 1.338 GB, free: 11.15 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/1.106, allocations: 256.5 kB / 1.338 GB, free: 10.88 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/1.106, allocations: 16.5 kB / 1.338 GB, free: 10.86 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/1.106, allocations: 23.94 kB / 1.338 GB, free: 10.84 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/1.107, allocations: 292.2 kB / 1.338 GB, free: 10.53 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/1.107, allocations: 0 / 1.338 GB, free: 10.53 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/1.107, allocations: 4 kB / 1.338 GB, free: 10.52 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/1.107, allocations: 8 kB / 1.338 GB, free: 10.52 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004328/1.107, allocations: 191.8 kB / 1.338 GB, free: 10.33 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/1.109, allocations: 0.9233 MB / 1.339 GB, free: 9.359 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/1.109, allocations: 122.5 kB / 1.339 GB, free: 9.23 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/1.109, allocations: 91.75 kB / 1.339 GB, free: 9.141 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000476/1.11, allocations: 75.92 kB / 1.34 GB, free: 9.066 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/1.11, allocations: 34.56 kB / 1.34 GB, free: 9.023 MB / 1.186 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/1.11, allocations: 0 / 1.34 GB, free: 9.023 MB / 1.186 GB Notification: Performance of matching and sorting (n=15): time 0.0008251/1.111, allocations: 277.5 kB / 1.34 GB, free: 8.746 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/1.111, allocations: 51.41 kB / 1.34 GB, free: 8.684 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/1.111, allocations: 253.9 kB / 1.34 GB, free: 8.422 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/1.111, allocations: 33.7 kB / 1.34 GB, free: 8.383 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/1.111, allocations: 192.2 kB / 1.34 GB, free: 8.191 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/1.111, allocations: 47.58 kB / 1.34 GB, free: 8.145 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/1.111, allocations: 45.7 kB / 1.34 GB, free: 8.094 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.111, allocations: 334.8 kB / 1.341 GB, free: 7.758 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/1.112, allocations: 63.95 kB / 1.341 GB, free: 7.695 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/1.112, allocations: 196.1 kB / 1.341 GB, free: 7.469 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/1.112, allocations: 204 kB / 1.341 GB, free: 7.254 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.112, allocations: 4 kB / 1.341 GB, free: 7.25 MB / 1.186 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004827/1.113, allocations: 233.3 kB / 1.341 GB, free: 7.016 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.113, allocations: 8 kB / 1.341 GB, free: 7.008 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.113, allocations: 4.094 kB / 1.341 GB, free: 7.004 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/1.113, allocations: 4 kB / 1.341 GB, free: 7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/1.113, allocations: 39.92 kB / 1.341 GB, free: 6.961 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/1.113, allocations: 3.938 kB / 1.342 GB, free: 6.957 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/1.113, allocations: 23.88 kB / 1.342 GB, free: 6.934 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/1.113, allocations: 8 kB / 1.342 GB, free: 6.926 MB / 1.186 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.0001666/1.113, allocations: 161.7 kB / 1.342 GB, free: 6.758 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/1.113, allocations: 23.86 kB / 1.342 GB, free: 6.734 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/1.114, allocations: 207.3 kB / 1.342 GB, free: 6.527 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/1.114, allocations: 7.984 kB / 1.342 GB, free: 6.52 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.114, allocations: 0 / 1.342 GB, free: 6.52 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/1.114, allocations: 0 / 1.342 GB, free: 6.52 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/1.115, allocations: 0.5974 MB / 1.342 GB, free: 5.863 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/1.115, allocations: 8 kB / 1.343 GB, free: 5.855 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/1.115, allocations: 35.91 kB / 1.343 GB, free: 5.82 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/1.115, allocations: 4 kB / 1.343 GB, free: 5.816 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/1.115, allocations: 7.938 kB / 1.343 GB, free: 5.809 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/1.115, allocations: 7.938 kB / 1.343 GB, free: 5.801 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/1.115, allocations: 4 kB / 1.343 GB, free: 5.797 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007133/1.116, allocations: 431.9 kB / 1.343 GB, free: 5.34 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-05/1.116, allocations: 35.8 kB / 1.343 GB, free: 5.305 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/1.116, allocations: 8 kB / 1.343 GB, free: 5.297 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/1.116, allocations: 11.92 kB / 1.343 GB, free: 5.285 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/1.116, allocations: 19.92 kB / 1.343 GB, free: 5.266 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/1.116, allocations: 4 kB / 1.343 GB, free: 5.262 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001816/1.116, allocations: 181.2 kB / 1.343 GB, free: 5.082 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.116, allocations: 0 / 1.343 GB, free: 5.082 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004046/1.117, allocations: 83.83 kB / 1.343 GB, free: 5 MB / 1.186 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.0002645/1.117, allocations: 151.3 kB / 1.343 GB, free: 4.84 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004351/1.118, allocations: 163.8 kB / 1.344 GB, free: 4.68 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.118, allocations: 0 / 1.344 GB, free: 4.68 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/1.118, allocations: 92.31 kB / 1.344 GB, free: 4.59 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007875/1.119, allocations: 125.4 kB / 1.344 GB, free: 4.473 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/1.12, allocations: 0.5979 MB / 1.344 GB, free: 3.828 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/1.12, allocations: 178.8 kB / 1.345 GB, free: 3.637 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001715/1.12, allocations: 50.27 kB / 1.345 GB, free: 3.586 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/1.12, allocations: 24.5 kB / 1.345 GB, free: 3.562 MB / 1.186 GB Notification: Performance of SimCode: time 4.01e-07/1.12, allocations: 0 / 1.345 GB, free: 3.562 MB / 1.186 GB Notification: Performance of Templates: time 0.01053/1.13, allocations: 4.78 MB / 1.349 GB, free: 14.91 MB / 1.201 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 -s ida -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: 9.282323991064914]