Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00276/0.00276, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.003236/0.003236, allocations: 165.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.68/1.68, allocations: 177.1 MB / 203.9 MB, free: 5.238 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.203/3.203, allocations: 377.9 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.788e-05/4.038e-05, allocations: 3.375 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2674/0.2675, allocations: 162.3 MB / 0.9693 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.008429/0.2759, allocations: 5.86 MB / 0.975 GB, free: 9.426 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002492/0.2761, allocations: 7.938 kB / 0.975 GB, free: 9.418 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0005023/0.2766, allocations: 103.2 kB / 0.9751 GB, free: 9.316 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.2769, allocations: 63.55 kB / 0.9752 GB, free: 9.254 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.277, allocations: 35.95 kB / 0.9752 GB, free: 9.219 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.2774, allocations: 223 kB / 0.9754 GB, free: 9 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.2776, allocations: 54.86 kB / 0.9755 GB, free: 8.945 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.278, allocations: 139.6 kB / 0.9756 GB, free: 8.809 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.2781, allocations: 55.83 kB / 0.9756 GB, free: 8.754 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.2782, allocations: 8 kB / 0.9757 GB, free: 8.746 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.058e-05/0.2782, allocations: 12 kB / 0.9757 GB, free: 8.734 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/0.2783, allocations: 35.84 kB / 0.9757 GB, free: 8.699 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 9.021e-05/0.2784, allocations: 51.86 kB / 0.9757 GB, free: 8.648 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.2787, allocations: 163.4 kB / 0.9759 GB, free: 8.488 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2787, allocations: 0 / 0.9759 GB, free: 8.488 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2787, allocations: 0 / 0.9759 GB, free: 8.488 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2787, allocations: 0 / 0.9759 GB, free: 8.488 MB / 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.0009116/0.2796, allocations: 475.4 kB / 0.9764 GB, free: 7.988 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.2796, allocations: 8.031 kB / 0.9764 GB, free: 7.98 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.735e-05/0.2797, allocations: 27.91 kB / 0.9764 GB, free: 7.953 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.2802, allocations: 205.9 kB / 0.9766 GB, free: 7.727 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.2802, allocations: 8 kB / 0.9766 GB, free: 7.719 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.2802, allocations: 12 kB / 0.9766 GB, free: 7.707 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.2806, allocations: 239.7 kB / 0.9768 GB, free: 7.422 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2806, allocations: 0 / 0.9768 GB, free: 7.422 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.2807, allocations: 4 kB / 0.9768 GB, free: 7.418 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.2807, allocations: 8 kB / 0.9768 GB, free: 7.41 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.2808, allocations: 63.84 kB / 0.9769 GB, free: 7.348 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.2824, allocations: 1.533 MB / 0.9784 GB, free: 5.742 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.2827, allocations: 265.4 kB / 0.9787 GB, free: 5.469 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.782e-05/0.2828, allocations: 126.9 kB / 0.9788 GB, free: 5.34 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.582e-05/0.2829, allocations: 123.1 kB / 0.9789 GB, free: 5.219 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.283, allocations: 160.6 kB / 0.9791 GB, free: 5.051 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.283, allocations: 0 / 0.9791 GB, free: 5.051 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 0.0001034/0.2831, allocations: 37.59 kB / 0.9791 GB, free: 5.008 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.2833, allocations: 226 kB / 0.9793 GB, free: 4.762 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.2836, allocations: 253.8 kB / 0.9795 GB, free: 4.496 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.2836, allocations: 29.7 kB / 0.9796 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.2838, allocations: 194.4 kB / 0.9798 GB, free: 4.266 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.2838, allocations: 0 / 0.9798 GB, free: 4.266 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.2838, allocations: 27.38 kB / 0.9798 GB, free: 4.23 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000319/0.2841, allocations: 0.4962 MB / 0.9803 GB, free: 3.723 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/0.2842, allocations: 11.98 kB / 0.9803 GB, free: 3.711 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.2846, allocations: 191.9 kB / 0.9805 GB, free: 3.461 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.2847, allocations: 70.36 kB / 0.9805 GB, free: 3.371 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2847, allocations: 0 / 0.9805 GB, free: 3.371 MB / 0.9323 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002221/0.2849, allocations: 73.52 kB / 0.9806 GB, free: 3.293 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.2849, allocations: 10.66 kB / 0.9806 GB, free: 3.285 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2849, allocations: 0 / 0.9806 GB, free: 3.285 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.2849, allocations: 7.938 kB / 0.9806 GB, free: 3.277 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.285, allocations: 4 kB / 0.9806 GB, free: 3.273 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.285, allocations: 4 kB / 0.9806 GB, free: 3.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/0.2851, allocations: 16.05 kB / 0.9806 GB, free: 3.254 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.2851, allocations: 3.984 kB / 0.9806 GB, free: 3.25 MB / 0.9323 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.0002348/0.2853, allocations: 291.8 kB / 0.9809 GB, free: 2.953 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.2854, allocations: 152.8 kB / 0.9811 GB, free: 2.797 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.2855, allocations: 165.3 kB / 0.9812 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001504/0.2857, allocations: 268 kB / 0.9815 GB, free: 2.359 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001724/0.2859, allocations: 268.1 kB / 0.9817 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001536/0.286, allocations: 268 kB / 0.982 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.2865, allocations: 0.5506 MB / 0.9825 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001046/0.2866, allocations: 152.8 kB / 0.9827 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.223e-05/0.2867, allocations: 148.9 kB / 0.9828 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001648/0.2868, allocations: 268.2 kB / 0.9831 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001756/0.287, allocations: 272 kB / 0.9833 GB, free: 384 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001794/0.2872, allocations: 264.1 kB / 0.9836 GB, free: 112 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001792/0.2874, allocations: 280 kB / 0.9839 GB, free: 15.83 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.2877, allocations: 456 kB / 0.9843 GB, free: 15.36 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.2878, allocations: 152.8 kB / 0.9844 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.288, allocations: 280.1 kB / 0.9847 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.2882, allocations: 152.8 kB / 0.9848 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.2884, allocations: 268 kB / 0.9851 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.2885, allocations: 152.8 kB / 0.9852 GB, free: 14.34 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002254/0.2887, allocations: 185.1 kB / 0.9854 GB, free: 14.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2887, allocations: 0 / 0.9854 GB, free: 14.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002753/0.289, allocations: 27.89 kB / 0.9855 GB, free: 14.13 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.0002092/0.2892, allocations: 214.4 kB / 0.9857 GB, free: 13.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.2894, allocations: 27.62 kB / 0.9857 GB, free: 13.88 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2894, allocations: 0 / 0.9857 GB, free: 13.88 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.2894, allocations: 0 / 0.9857 GB, free: 13.88 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007934/0.2902, allocations: 0.72 MB / 0.9864 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.2908, allocations: 362.2 kB / 0.9867 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.2909, allocations: 101.6 kB / 0.9868 GB, free: 12.65 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.804e-05/0.291, allocations: 8.484 kB / 0.9868 GB, free: 12.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.291, allocations: 16.5 kB / 0.9869 GB, free: 12.63 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.291, allocations: 0 / 0.9869 GB, free: 12.63 MB / 0.948 GB Notification: Performance of Templates: time 0.004673/0.2957, allocations: 0.8303 MB / 0.9877 GB, free: 11.82 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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: 9.147932401974685]