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.0008402/0.0008402, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001945, allocations: 449.7 kB / 10.37 MB, free: 328 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.001013/0.001013, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001237/0.00225, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9026/0.9026, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1064/1.009, allocations: 53.63 MB / 243.2 MB, free: 15.6 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.826/1.826, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4804/2.306, allocations: 123.3 MB / 0.728 GB, free: 5.805 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.372e-06/1.372e-06, allocations: 0 / 0.7294 GB, free: 4.484 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139e-05/1.276e-05, allocations: 4.484 kB / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.162/0.1621, allocations: 146.4 MB / 0.8723 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1638, allocations: 1.308 MB / 0.8736 GB, free: 460 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.164, allocations: 15.88 kB / 0.8736 GB, free: 444 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.1642, allocations: 91.22 kB / 0.8737 GB, free: 352 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000725/0.165, allocations: 389.8 kB / 0.8741 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007172/0.1657, allocations: 446.8 kB / 0.8745 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006327/0.1663, allocations: 0.6932 MB / 0.8752 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.1666, allocations: 179.4 kB / 0.8754 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004046/0.167, allocations: 383 kB / 0.8757 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.1671, allocations: 179.4 kB / 0.8759 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.1672, allocations: 20 kB / 0.8759 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.1676, allocations: 319.1 kB / 0.8762 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.045e-05/0.1676, allocations: 99.69 kB / 0.8763 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.38e-05/0.1677, allocations: 99.81 kB / 0.8764 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.1681, allocations: 378.9 kB / 0.8768 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.1681, allocations: 3.938 kB / 0.8768 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1681, allocations: 3.984 kB / 0.8768 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.1682, allocations: 4 kB / 0.8768 GB, free: 13.2 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.0005982/0.1688, allocations: 0.6045 MB / 0.8774 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.1688, allocations: 12.03 kB / 0.8774 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006316/0.1694, allocations: 285.4 kB / 0.8776 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.1697, allocations: 248.6 kB / 0.8779 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1697, allocations: 16.88 kB / 0.8779 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.1697, allocations: 24.38 kB / 0.8779 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.17, allocations: 211.8 kB / 0.8781 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.17, allocations: 3.938 kB / 0.8781 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.17, allocations: 12 kB / 0.8781 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.17, allocations: 4 kB / 0.8781 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.793e-05/0.1701, allocations: 85 kB / 0.8782 GB, free: 11.61 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.0006297/0.1707, allocations: 0.7746 MB / 0.879 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.1708, allocations: 117.3 kB / 0.8791 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.1708, allocations: 31.67 kB / 0.8791 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.171, allocations: 48.23 kB / 0.8792 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.171, allocations: 46.48 kB / 0.8792 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.171, allocations: 0 / 0.8792 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002271/0.1713, allocations: 121.4 kB / 0.8793 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.1713, allocations: 51.41 kB / 0.8794 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.1714, allocations: 233 kB / 0.8796 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.1714, allocations: 33.7 kB / 0.8796 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.1715, allocations: 164.7 kB / 0.8798 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.1715, allocations: 63.47 kB / 0.8799 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.1716, allocations: 41.69 kB / 0.8799 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.1716, allocations: 334.8 kB / 0.8802 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/0.1717, allocations: 14.83 kB / 0.8802 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.479e-05/0.1717, allocations: 146.2 kB / 0.8804 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.475e-05/0.1718, allocations: 101.5 kB / 0.8805 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1718, allocations: 7.938 kB / 0.8805 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001235/0.172, allocations: 126.9 kB / 0.8806 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.172, allocations: 8 kB / 0.8806 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.172, allocations: 0 / 0.8806 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.172, allocations: 4 kB / 0.8806 GB, free: 9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1721, allocations: 43.97 kB / 0.8806 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1721, allocations: 7.938 kB / 0.8806 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.527e-05/0.1722, allocations: 15.89 kB / 0.8807 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1722, allocations: 8 kB / 0.8807 GB, free: 8.926 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 7.076e-05/0.1722, allocations: 124.7 kB / 0.8808 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.1723, allocations: 23.98 kB / 0.8808 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.1724, allocations: 118 kB / 0.8809 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1724, allocations: 0 / 0.8809 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1724, allocations: 0 / 0.8809 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1724, allocations: 0 / 0.8809 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.1728, allocations: 0.4999 MB / 0.8814 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1728, allocations: 12.2 kB / 0.8814 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.036e-05/0.1729, allocations: 31.92 kB / 0.8815 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.1729, allocations: 27.86 kB / 0.8815 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1729, allocations: 0 / 0.8815 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1729, allocations: 4.141 kB / 0.8815 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.1729, allocations: 7.984 kB / 0.8815 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1729, allocations: 3.938 kB / 0.8815 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.1731, allocations: 323.8 kB / 0.8818 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.1731, allocations: 11.98 kB / 0.8818 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.51e-05/0.1732, allocations: 12.03 kB / 0.8818 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.1732, allocations: 23.86 kB / 0.8819 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.1732, allocations: 4 kB / 0.8819 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000128/0.1734, allocations: 78.77 kB / 0.8819 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1734, allocations: 0 / 0.8819 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002058/0.1736, allocations: 87.78 kB / 0.882 GB, free: 7.43 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.0001621/0.1737, allocations: 112.3 kB / 0.8821 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.1739, allocations: 81.64 kB / 0.8822 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.1739, allocations: 7.984 kB / 0.8822 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.1739, allocations: 48.7 kB / 0.8823 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.1743, allocations: 143.2 kB / 0.8824 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.1768, allocations: 0.5446 MB / 0.8829 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.776e-05/0.1769, allocations: 104.2 kB / 0.883 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.329e-05/0.177, allocations: 34.47 kB / 0.8831 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.1772, allocations: 125.2 kB / 0.8832 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of SimCode: time 7.42e-07/0.1772, allocations: 4 kB / 0.8832 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of Templates: time 0.006685/0.1839, allocations: 5.199 MB / 0.8883 GB, free: 1.094 MB / 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.127927117049694]