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.00109/0.00109, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001608/0.002698, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00106/0.00106, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001466/0.002526, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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 0.9857/0.9857, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08751/1.073, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.442/2.442, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2348/2.677, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 0.819 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.369e-05, allocations: 2.312 kB / 0.819 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1357/0.1357, allocations: 146.4 MB / 0.9619 GB, free: 15.49 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00188/0.1376, allocations: 1.281 MB / 0.9632 GB, free: 14.21 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.1378, allocations: 19.81 kB / 0.9632 GB, free: 14.19 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.138, allocations: 83.34 kB / 0.9633 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.1386, allocations: 389.7 kB / 0.9636 GB, free: 13.72 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.1393, allocations: 434.8 kB / 0.9641 GB, free: 13.3 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005789/0.1399, allocations: 0.6815 MB / 0.9647 GB, free: 12.61 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.1401, allocations: 175.4 kB / 0.9649 GB, free: 12.44 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004194/0.1405, allocations: 367.1 kB / 0.9652 GB, free: 12.08 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.1407, allocations: 183.4 kB / 0.9654 GB, free: 11.9 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.1407, allocations: 24 kB / 0.9654 GB, free: 11.88 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.1412, allocations: 315.1 kB / 0.9657 GB, free: 11.57 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.876e-05/0.1412, allocations: 99.69 kB / 0.9658 GB, free: 11.47 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.18e-05/0.1413, allocations: 95.81 kB / 0.9659 GB, free: 11.38 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.1417, allocations: 386.8 kB / 0.9663 GB, free: 11 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.1417, allocations: 3.938 kB / 0.9663 GB, free: 11 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.264e-06/0.1417, allocations: 4 kB / 0.9663 GB, free: 10.99 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.1417, allocations: 0 / 0.9663 GB, free: 10.99 MB / 0.948 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.0004653/0.1422, allocations: 0.589 MB / 0.9669 GB, free: 10.38 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 8.664e-05/0.1423, allocations: 8.031 kB / 0.9669 GB, free: 10.37 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006544/0.1429, allocations: 297.3 kB / 0.9672 GB, free: 10.06 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.1432, allocations: 240.7 kB / 0.9674 GB, free: 9.797 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1432, allocations: 16.88 kB / 0.9674 GB, free: 9.781 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.1432, allocations: 28.31 kB / 0.9674 GB, free: 9.754 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1434, allocations: 215.8 kB / 0.9676 GB, free: 9.516 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1434, allocations: 0 / 0.9676 GB, free: 9.516 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1434, allocations: 8 kB / 0.9676 GB, free: 9.508 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1434, allocations: 12 kB / 0.9677 GB, free: 9.496 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.539e-05/0.1435, allocations: 72.38 kB / 0.9677 GB, free: 9.422 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.1441, allocations: 0.7862 MB / 0.9685 GB, free: 8.602 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.483e-05/0.1442, allocations: 113.2 kB / 0.9686 GB, free: 8.48 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.299e-05/0.1442, allocations: 39.67 kB / 0.9686 GB, free: 8.438 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.1444, allocations: 43.95 kB / 0.9687 GB, free: 8.395 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.1444, allocations: 38.5 kB / 0.9687 GB, free: 8.348 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.012e-06/0.1444, allocations: 0 / 0.9687 GB, free: 8.348 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0002064/0.1446, allocations: 121.8 kB / 0.9688 GB, free: 8.223 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.1446, allocations: 55.41 kB / 0.9689 GB, free: 8.156 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1447, allocations: 236.9 kB / 0.9691 GB, free: 7.914 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1447, allocations: 29.7 kB / 0.9691 GB, free: 7.879 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.1448, allocations: 168.7 kB / 0.9693 GB, free: 7.711 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.1448, allocations: 55.52 kB / 0.9694 GB, free: 7.656 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.1449, allocations: 37.69 kB / 0.9694 GB, free: 7.613 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.1449, allocations: 338.8 kB / 0.9697 GB, free: 7.273 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/0.145, allocations: 18.81 kB / 0.9697 GB, free: 7.254 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-05/0.145, allocations: 144.1 kB / 0.9699 GB, free: 7.078 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.634e-05/0.1451, allocations: 107 kB / 0.97 GB, free: 6.953 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1451, allocations: 3.938 kB / 0.97 GB, free: 6.949 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001198/0.1452, allocations: 123.8 kB / 0.9701 GB, free: 6.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1453, allocations: 4 kB / 0.9701 GB, free: 6.816 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1453, allocations: 7.938 kB / 0.9701 GB, free: 6.809 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.1453, allocations: 0 / 0.9701 GB, free: 6.809 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1454, allocations: 43.98 kB / 0.9702 GB, free: 6.766 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1454, allocations: 7.984 kB / 0.9702 GB, free: 6.758 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.1454, allocations: 15.89 kB / 0.9702 GB, free: 6.742 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.1455, allocations: 12.09 kB / 0.9702 GB, free: 6.73 MB / 0.948 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 6.846e-05/0.1455, allocations: 124.5 kB / 0.9703 GB, free: 6.598 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.1456, allocations: 23.97 kB / 0.9703 GB, free: 6.574 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.1457, allocations: 109.8 kB / 0.9704 GB, free: 6.457 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1457, allocations: 8 kB / 0.9704 GB, free: 6.449 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1457, allocations: 0 / 0.9704 GB, free: 6.449 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.1457, allocations: 3.984 kB / 0.9704 GB, free: 6.445 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.1461, allocations: 499.9 kB / 0.9709 GB, free: 5.902 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1461, allocations: 4 kB / 0.9709 GB, free: 5.898 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.1462, allocations: 31.92 kB / 0.971 GB, free: 5.867 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.1462, allocations: 39.88 kB / 0.971 GB, free: 5.828 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1462, allocations: 11.92 kB / 0.971 GB, free: 5.816 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1462, allocations: 4 kB / 0.971 GB, free: 5.812 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1462, allocations: 0 / 0.971 GB, free: 5.812 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1462, allocations: 7.938 kB / 0.971 GB, free: 5.805 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.1464, allocations: 316.2 kB / 0.9713 GB, free: 5.449 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1465, allocations: 8 kB / 0.9713 GB, free: 5.441 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.1465, allocations: 7.984 kB / 0.9713 GB, free: 5.434 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.1466, allocations: 15.92 kB / 0.9713 GB, free: 5.418 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1466, allocations: 4 kB / 0.9713 GB, free: 5.414 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.215e-05/0.1466, allocations: 82.75 kB / 0.9714 GB, free: 5.328 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1466, allocations: 3.938 kB / 0.9714 GB, free: 5.324 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002078/0.1468, allocations: 87.83 kB / 0.9715 GB, free: 5.238 MB / 0.948 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.0001626/0.147, allocations: 108.4 kB / 0.9716 GB, free: 5.125 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.1471, allocations: 89.69 kB / 0.9717 GB, free: 5.035 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.1471, allocations: 4 kB / 0.9717 GB, free: 5.031 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.905e-05/0.1472, allocations: 53.55 kB / 0.9718 GB, free: 4.977 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.1477, allocations: 0.7654 MB / 0.9725 GB, free: 4.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.1502, allocations: 0.5475 MB / 0.973 GB, free: 3.477 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.348e-05/0.1503, allocations: 96.3 kB / 0.9731 GB, free: 3.359 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.906e-05/0.1504, allocations: 34.48 kB / 0.9732 GB, free: 3.328 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.1505, allocations: 125.3 kB / 0.9733 GB, free: 3.203 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.1505, allocations: 0 / 0.9733 GB, free: 3.203 MB / 0.948 GB Notification: Performance of Templates: time 0.009163/0.1597, allocations: 5.13 MB / 0.9783 GB, free: 14.2 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4932273318991065]