Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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.0008873/0.0008873, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.002, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007009/0.0007009, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008442/0.001545, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9766/0.9766, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09817/1.075, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.585/2.585, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3727/2.958, allocations: 145.9 MB / 0.817 GB, free: 4.199 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.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floSpl.outlet.[0-9,]+..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floSpl.outlet.[0-9,]+..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.09e-05, allocations: 8.641 kB / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1827/0.1828, allocations: 145 MB / 0.9599 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004515/0.1832, allocations: 187.2 kB / 0.9601 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.1834, allocations: 7.938 kB / 0.9601 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.1837, allocations: 59.58 kB / 0.9601 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.1839, allocations: 55.5 kB / 0.9602 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.184, allocations: 39.94 kB / 0.9602 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.1844, allocations: 215 kB / 0.9604 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.1846, allocations: 55.58 kB / 0.9605 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.1848, allocations: 123.6 kB / 0.9606 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.185, allocations: 59.81 kB / 0.9607 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.185, allocations: 8 kB / 0.9607 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 2.08e-05/0.185, allocations: 12 kB / 0.9607 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.1851, allocations: 27.88 kB / 0.9607 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 6.273e-05/0.1851, allocations: 43.88 kB / 0.9608 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1853, allocations: 99.55 kB / 0.9608 GB, free: 344 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-05/0.1853, allocations: 4 kB / 0.9609 GB, free: 340 kB / 0.9323 GB Notification: Performance of FrontEnd: time 2.424e-06/0.1853, allocations: 0 / 0.9609 GB, free: 340 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.1854, allocations: 0 / 0.9609 GB, free: 340 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006097/0.186, allocations: 368.2 kB / 0.9612 GB, free: 15.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.186, allocations: 12.62 kB / 0.9612 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.1861, allocations: 20.92 kB / 0.9612 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.1863, allocations: 193.3 kB / 0.9614 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1863, allocations: 8.609 kB / 0.9614 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.1864, allocations: 12.38 kB / 0.9614 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.1866, allocations: 193 kB / 0.9616 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1866, allocations: 8 kB / 0.9616 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1866, allocations: 7.984 kB / 0.9616 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.1866, allocations: 8 kB / 0.9616 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.86e-05/0.1867, allocations: 38.69 kB / 0.9617 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.1874, allocations: 0.9661 MB / 0.9626 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.306e-05/0.1875, allocations: 169.2 kB / 0.9628 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.1875, allocations: 92.02 kB / 0.9629 GB, free: 14.11 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.1876, allocations: 79.28 kB / 0.963 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.1876, allocations: 113.8 kB / 0.9631 GB, free: 13.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.1876, allocations: 4 kB / 0.9631 GB, free: 13.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 7.179e-05/0.1877, allocations: 29.7 kB / 0.9631 GB, free: 13.87 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.1877, allocations: 134.7 kB / 0.9632 GB, free: 13.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1879, allocations: 158.6 kB / 0.9634 GB, free: 13.56 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1879, allocations: 25.7 kB / 0.9634 GB, free: 13.53 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.434e-05/0.188, allocations: 143.7 kB / 0.9635 GB, free: 13.38 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.188, allocations: 4 kB / 0.9635 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.188, allocations: 17.72 kB / 0.9636 GB, free: 13.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1882, allocations: 326.8 kB / 0.9639 GB, free: 13.03 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.1882, allocations: 6.766 kB / 0.9639 GB, free: 13.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.1887, allocations: 170.5 kB / 0.964 GB, free: 12.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/0.1887, allocations: 45.89 kB / 0.9641 GB, free: 12.74 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1887, allocations: 0 / 0.9641 GB, free: 12.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000121/0.1889, allocations: 71.2 kB / 0.9641 GB, free: 12.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1889, allocations: 4 kB / 0.9642 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1889, allocations: 8.156 kB / 0.9642 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1889, allocations: 0 / 0.9642 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.189, allocations: 8 kB / 0.9642 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.189, allocations: 4 kB / 0.9642 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.189, allocations: 7.938 kB / 0.9642 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.189, allocations: 4 kB / 0.9642 GB, free: 12.62 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.000102/0.1891, allocations: 199.8 kB / 0.9644 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.1892, allocations: 105 kB / 0.9645 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.1892, allocations: 113.5 kB / 0.9646 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.281e-05/0.1893, allocations: 180.2 kB / 0.9648 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.335e-05/0.1893, allocations: 188.3 kB / 0.9649 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.695e-05/0.1894, allocations: 184.2 kB / 0.9651 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.1896, allocations: 341.3 kB / 0.9654 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.743e-05/0.1896, allocations: 101 kB / 0.9655 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.1897, allocations: 112.9 kB / 0.9656 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.1897, allocations: 108.9 kB / 0.9657 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.222e-05/0.1898, allocations: 184.2 kB / 0.9659 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/0.1898, allocations: 184.4 kB / 0.9661 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-05/0.1899, allocations: 188.4 kB / 0.9663 GB, free: 10.37 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-05/0.1899, allocations: 188.2 kB / 0.9665 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.1901, allocations: 311.7 kB / 0.9667 GB, free: 9.848 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/0.1901, allocations: 184.3 kB / 0.9669 GB, free: 9.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.1902, allocations: 104.9 kB / 0.967 GB, free: 9.551 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.1903, allocations: 180.3 kB / 0.9672 GB, free: 9.367 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.1903, allocations: 105 kB / 0.9673 GB, free: 9.258 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.751e-05/0.1903, allocations: 37.81 kB / 0.9673 GB, free: 9.219 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1903, allocations: 0 / 0.9673 GB, free: 9.219 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001517/0.1905, allocations: 27.89 kB / 0.9674 GB, free: 9.191 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.000154/0.1907, allocations: 159.6 kB / 0.9675 GB, free: 9.027 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.452e-05/0.1907, allocations: 20.91 kB / 0.9675 GB, free: 9.004 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.1908, allocations: 4 kB / 0.9675 GB, free: 9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.644e-06/0.1908, allocations: 3.938 kB / 0.9675 GB, free: 8.996 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1911, allocations: 474 kB / 0.968 GB, free: 8.531 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1923, allocations: 323.5 kB / 0.9683 GB, free: 8.188 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.145e-05/0.1924, allocations: 63.34 kB / 0.9684 GB, free: 8.105 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.59e-05/0.1924, allocations: 16.78 kB / 0.9684 GB, free: 8.09 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.1925, allocations: 71.36 kB / 0.9684 GB, free: 8.02 MB / 0.948 GB Notification: Performance of SimCode: time 1.563e-06/0.1925, allocations: 0 / 0.9684 GB, free: 8.02 MB / 0.948 GB Notification: Performance of Templates: time 0.003211/0.1957, allocations: 0.9443 MB / 0.9694 GB, free: 7.098 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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.901536689139903]