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.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.0007649/0.0007649, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001848, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006832/0.0006832, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009516/0.001635, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.011/1.011, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09696/1.108, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.821/1.821, allocations: 378.4 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.474/2.295, allocations: 123.3 MB / 0.7283 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_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 1.483e-06/1.483e-06, allocations: 0 / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.68e-05, allocations: 4.844 kB / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1354/0.1354, allocations: 146.4 MB / 0.8727 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.1374, allocations: 1.309 MB / 0.8739 GB, free: 340 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.1376, allocations: 19.81 kB / 0.874 GB, free: 320 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.1378, allocations: 79.34 kB / 0.874 GB, free: 240 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0007231/0.1385, allocations: 393.8 kB / 0.8744 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.1393, allocations: 442.7 kB / 0.8748 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005598/0.1399, allocations: 0.6893 MB / 0.8755 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.1401, allocations: 183.4 kB / 0.8757 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004648/0.1406, allocations: 387 kB / 0.876 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.1408, allocations: 187.4 kB / 0.8762 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.1408, allocations: 20 kB / 0.8762 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.1412, allocations: 319.1 kB / 0.8765 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.945e-05/0.1413, allocations: 95.69 kB / 0.8766 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.392e-05/0.1414, allocations: 95.81 kB / 0.8767 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.1419, allocations: 382.8 kB / 0.8771 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.1419, allocations: 4 kB / 0.8771 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1419, allocations: 0 / 0.8771 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.1419, allocations: 0 / 0.8771 GB, free: 13.09 MB / 0.8542 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.0006762/0.1426, allocations: 0.6045 MB / 0.8777 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1426, allocations: 8.031 kB / 0.8777 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007263/0.1433, allocations: 297.3 kB / 0.878 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.1436, allocations: 240.7 kB / 0.8782 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1436, allocations: 20.88 kB / 0.8782 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.1437, allocations: 24.38 kB / 0.8783 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.1439, allocations: 219.7 kB / 0.8785 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1439, allocations: 0 / 0.8785 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1439, allocations: 8 kB / 0.8785 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1439, allocations: 4 kB / 0.8785 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.268e-05/0.144, allocations: 81.02 kB / 0.8785 GB, free: 11.5 MB / 0.8542 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.0006776/0.1447, allocations: 0.7785 MB / 0.8793 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.1448, allocations: 121.2 kB / 0.8794 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.1449, allocations: 33.78 kB / 0.8795 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/0.145, allocations: 56.17 kB / 0.8795 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1451, allocations: 34.56 kB / 0.8795 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.1451, allocations: 0 / 0.8795 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002703/0.1453, allocations: 125.4 kB / 0.8797 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.1454, allocations: 51.41 kB / 0.8797 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1455, allocations: 229 kB / 0.8799 GB, free: 10 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1455, allocations: 33.7 kB / 0.88 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.1456, allocations: 160.7 kB / 0.8801 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.1456, allocations: 63.47 kB / 0.8802 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.1457, allocations: 41.69 kB / 0.8802 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.1458, allocations: 338.8 kB / 0.8805 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-05/0.1458, allocations: 22.75 kB / 0.8806 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.034e-05/0.1459, allocations: 139 kB / 0.8807 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.146, allocations: 108.6 kB / 0.8808 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.146, allocations: 3.938 kB / 0.8808 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001441/0.1461, allocations: 131.2 kB / 0.8809 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1461, allocations: 4 kB / 0.8809 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1461, allocations: 4 kB / 0.8809 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1462, allocations: 0 / 0.8809 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1463, allocations: 43.92 kB / 0.881 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1463, allocations: 7.984 kB / 0.881 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.211e-05/0.1463, allocations: 19.89 kB / 0.881 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.1464, allocations: 4 kB / 0.881 GB, free: 8.809 MB / 0.8542 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 8.117e-05/0.1464, allocations: 128.5 kB / 0.8811 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.1465, allocations: 20.17 kB / 0.8811 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.1466, allocations: 117.3 kB / 0.8813 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1466, allocations: 4 kB / 0.8813 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1466, allocations: 0 / 0.8813 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1466, allocations: 3.984 kB / 0.8813 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.1471, allocations: 0.4959 MB / 0.8818 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1471, allocations: 224 / 0.8818 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.456e-05/0.1472, allocations: 43.98 kB / 0.8818 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.1472, allocations: 27.83 kB / 0.8818 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1472, allocations: 4 kB / 0.8818 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1472, allocations: 8 kB / 0.8818 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1472, allocations: 7.938 kB / 0.8818 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1472, allocations: 3.938 kB / 0.8818 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.1474, allocations: 311.9 kB / 0.8821 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.1475, allocations: 4 kB / 0.8821 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.1475, allocations: 11.98 kB / 0.8822 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.1476, allocations: 19.95 kB / 0.8822 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.1476, allocations: 8 kB / 0.8822 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.835e-05/0.1476, allocations: 82.75 kB / 0.8823 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1476, allocations: 0 / 0.8823 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002143/0.1479, allocations: 87.78 kB / 0.8823 GB, free: 7.316 MB / 0.8542 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.0001871/0.148, allocations: 116.2 kB / 0.8825 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.1482, allocations: 80.7 kB / 0.8825 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.1482, allocations: 4 kB / 0.8825 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.326e-05/0.1483, allocations: 60.69 kB / 0.8826 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.1489, allocations: 0.8309 MB / 0.8834 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.1515, allocations: 0.5526 MB / 0.8839 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.946e-05/0.1516, allocations: 100.3 kB / 0.884 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.609e-05/0.1517, allocations: 34.27 kB / 0.8841 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.1519, allocations: 125.3 kB / 0.8842 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of SimCode: time 7.92e-07/0.1519, allocations: 0 / 0.8842 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of Templates: time 0.007143/0.159, allocations: 5.249 MB / 0.8893 GB, free: 76 kB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate/Buildings_12_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.206691764295101]