Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 191.4 kB / 22.11 MB, free: 4.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 225.6 MB / 250.8 MB, free: 2.891 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.964/2.964, allocations: 495.8 MB / 0.7831 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 63.91 kB / 1.137 GB, free: 12.12 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262/1.264, allocations: 173.6 MB / 1.307 GB, free: 33.83 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2386/1.502, allocations: 166.3 MB / 1.469 GB, free: 9.648 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004056/1.506, allocations: 1.553 MB / 1.471 GB, free: 8.562 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006948/1.507, allocations: 14.84 kB / 1.471 GB, free: 8.555 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007364/1.508, allocations: 144.7 kB / 1.471 GB, free: 8.461 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002813/1.511, allocations: 0.7476 MB / 1.472 GB, free: 8.066 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/1.513, allocations: 0.6311 MB / 1.472 GB, free: 7.754 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001281/1.514, allocations: 0.715 MB / 1.473 GB, free: 7.398 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004588/1.515, allocations: 191.5 kB / 1.473 GB, free: 7.266 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/1.516, allocations: 0.5024 MB / 1.474 GB, free: 6.961 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/1.517, allocations: 223.8 kB / 1.474 GB, free: 6.828 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/1.517, allocations: 23.53 kB / 1.474 GB, free: 6.828 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/1.519, allocations: 0.7223 MB / 1.474 GB, free: 6.414 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/1.519, allocations: 106.3 kB / 1.475 GB, free: 6.344 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002248/1.519, allocations: 166.1 kB / 1.475 GB, free: 6.242 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/1.52, allocations: 0.6848 MB / 1.475 GB, free: 5.844 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/1.52, allocations: 1.281 kB / 1.475 GB, free: 5.844 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.513e-06/1.52, allocations: 0 / 1.475 GB, free: 5.844 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.799e-06/1.52, allocations: 0 / 1.475 GB, free: 5.844 MB / 1.154 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.001292/1.522, allocations: 0.5798 MB / 1.476 GB, free: 5.352 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.522, allocations: 9.375 kB / 1.476 GB, free: 5.352 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/1.523, allocations: 161.4 kB / 1.476 GB, free: 5.273 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005797/1.524, allocations: 265.7 kB / 1.476 GB, free: 5.039 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/1.524, allocations: 14.56 kB / 1.476 GB, free: 5.035 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/1.524, allocations: 22.97 kB / 1.476 GB, free: 5.027 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006517/1.524, allocations: 283.4 kB / 1.477 GB, free: 4.828 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/1.524, allocations: 0 / 1.477 GB, free: 4.828 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/1.524, allocations: 6.094 kB / 1.477 GB, free: 4.824 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/1.524, allocations: 6.188 kB / 1.477 GB, free: 4.824 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/1.525, allocations: 201.2 kB / 1.477 GB, free: 4.73 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/1.527, allocations: 1.168 MB / 1.478 GB, free: 3.656 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/1.527, allocations: 142.1 kB / 1.478 GB, free: 3.566 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/1.527, allocations: 84.66 kB / 1.478 GB, free: 3.523 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005037/1.528, allocations: 76.97 kB / 1.478 GB, free: 3.492 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/1.528, allocations: 43.91 kB / 1.478 GB, free: 3.441 MB / 1.154 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/1.528, allocations: 0 / 1.478 GB, free: 3.441 MB / 1.154 GB Notification: Performance of matching and sorting (n=15): time 0.0008663/1.529, allocations: 279.2 kB / 1.479 GB, free: 3.301 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/1.529, allocations: 52.62 kB / 1.479 GB, free: 3.238 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000454/1.529, allocations: 320.2 kB / 1.479 GB, free: 3.031 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/1.529, allocations: 30.92 kB / 1.479 GB, free: 2.996 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/1.53, allocations: 180.8 kB / 1.479 GB, free: 2.832 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/1.53, allocations: 58.61 kB / 1.479 GB, free: 2.781 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/1.53, allocations: 42.67 kB / 1.479 GB, free: 2.75 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002028/1.53, allocations: 337.1 kB / 1.48 GB, free: 2.418 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/1.53, allocations: 71.45 kB / 1.48 GB, free: 2.383 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/1.53, allocations: 125.4 kB / 1.48 GB, free: 2.289 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/1.531, allocations: 195.6 kB / 1.48 GB, free: 2.16 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.531, allocations: 0.75 kB / 1.48 GB, free: 2.16 MB / 1.154 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005326/1.531, allocations: 237.6 kB / 1.48 GB, free: 2.031 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.531, allocations: 6.438 kB / 1.48 GB, free: 2.031 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/1.531, allocations: 0.9375 kB / 1.48 GB, free: 2.031 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.531, allocations: 3.281 kB / 1.48 GB, free: 2.031 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/1.532, allocations: 43.12 kB / 1.48 GB, free: 2.02 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/1.532, allocations: 6.844 kB / 1.48 GB, free: 2.016 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/1.532, allocations: 25.84 kB / 1.48 GB, free: 2 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/1.532, allocations: 12.14 kB / 1.48 GB, free: 1.996 MB / 1.154 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.0001786/1.532, allocations: 155.4 kB / 1.48 GB, free: 1.852 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/1.532, allocations: 29.84 kB / 1.48 GB, free: 1.836 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006042/1.533, allocations: 216.9 kB / 1.481 GB, free: 1.703 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.533, allocations: 6.562 kB / 1.481 GB, free: 1.699 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.533, allocations: 0 / 1.481 GB, free: 1.699 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.533, allocations: 0 / 1.481 GB, free: 1.699 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/1.534, allocations: 0.6606 MB / 1.481 GB, free: 1.148 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.534, allocations: 2.688 kB / 1.481 GB, free: 1.148 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/1.534, allocations: 32.61 kB / 1.481 GB, free: 1.141 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/1.534, allocations: 10.7 kB / 1.481 GB, free: 1.133 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/1.534, allocations: 3.062 kB / 1.481 GB, free: 1.133 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/1.534, allocations: 10.56 kB / 1.481 GB, free: 1.125 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.534, allocations: 2.906 kB / 1.481 GB, free: 1.125 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007266/1.535, allocations: 442.1 kB / 1.482 GB, free: 0.793 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/1.535, allocations: 51.58 kB / 1.482 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/1.535, allocations: 11.22 kB / 1.482 GB, free: 0.75 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/1.535, allocations: 9.047 kB / 1.482 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/1.535, allocations: 13.2 kB / 1.482 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/1.535, allocations: 6.031 kB / 1.482 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003179/1.536, allocations: 231 kB / 1.482 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of sort global known variables: time 7.1e-08/1.536, allocations: 0 / 1.482 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004207/1.536, allocations: 82.02 kB / 1.482 GB, free: 0.5703 MB / 1.154 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.0004702/1.536, allocations: 166.5 kB / 1.482 GB, free: 452 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005387/1.537, allocations: 175.4 kB / 1.483 GB, free: 368 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.537, allocations: 0 / 1.483 GB, free: 368 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/1.537, allocations: 85.84 kB / 1.483 GB, free: 328 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/1.538, allocations: 166.4 kB / 1.483 GB, free: 240 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/1.54, allocations: 0.6026 MB / 1.483 GB, free: 15.78 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/1.54, allocations: 0.7757 MB / 1.484 GB, free: 15.04 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002398/1.54, allocations: 64.83 kB / 1.484 GB, free: 15.01 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/1.54, allocations: 28.69 kB / 1.484 GB, free: 15 MB / 1.17 GB Notification: Performance of SimCode: time 9.92e-07/1.54, allocations: 0 / 1.484 GB, free: 15 MB / 1.17 GB Notification: Performance of Templates: time 0.01519/1.556, allocations: 5.907 MB / 1.49 GB, free: 12.09 MB / 1.17 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.281917440705001]