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.002412/0.002412, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002987/0.002987, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.695/1.695, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.61/3.61, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.1..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.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.763e-05/3.991e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2599/0.26, allocations: 162.3 MB / 1.036 GB, free: 3.828 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.008372/0.2683, allocations: 5.856 MB / 1.042 GB, free: 13.95 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003071/0.2686, allocations: 11.94 kB / 1.042 GB, free: 13.94 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005337/0.2692, allocations: 107.2 kB / 1.042 GB, free: 13.84 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.2694, allocations: 47.62 kB / 1.042 GB, free: 13.79 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.2696, allocations: 39.94 kB / 1.042 GB, free: 13.75 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.27, allocations: 223 kB / 1.042 GB, free: 13.53 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.2702, allocations: 62.86 kB / 1.042 GB, free: 13.46 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003603/0.2706, allocations: 139.6 kB / 1.042 GB, free: 13.33 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.2708, allocations: 55.81 kB / 1.042 GB, free: 13.27 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.2708, allocations: 12 kB / 1.042 GB, free: 13.26 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 3.162e-05/0.2708, allocations: 8 kB / 1.042 GB, free: 13.25 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 7.631e-05/0.2709, allocations: 35.84 kB / 1.042 GB, free: 13.22 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 8.201e-05/0.271, allocations: 39.92 kB / 1.042 GB, free: 13.18 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.2713, allocations: 167.3 kB / 1.043 GB, free: 13.02 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2713, allocations: 0 / 1.043 GB, free: 13.02 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.796e-06/0.2713, allocations: 0 / 1.043 GB, free: 13.02 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.2714, allocations: 0 / 1.043 GB, free: 13.02 MB / 1.01 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.0008128/0.2722, allocations: 487.6 kB / 1.043 GB, free: 12.5 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.2722, allocations: 8.031 kB / 1.043 GB, free: 12.5 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/0.2723, allocations: 27.89 kB / 1.043 GB, free: 12.47 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.2727, allocations: 206.7 kB / 1.043 GB, free: 12.24 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.2727, allocations: 8.234 kB / 1.043 GB, free: 12.23 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.2727, allocations: 16 kB / 1.043 GB, free: 12.22 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.2731, allocations: 243.9 kB / 1.043 GB, free: 11.93 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2731, allocations: 0 / 1.043 GB, free: 11.93 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.2732, allocations: 4 kB / 1.043 GB, free: 11.93 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.2732, allocations: 4 kB / 1.044 GB, free: 11.92 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.2733, allocations: 59.84 kB / 1.044 GB, free: 11.86 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.2748, allocations: 1.522 MB / 1.045 GB, free: 10.27 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.275, allocations: 269.4 kB / 1.045 GB, free: 9.992 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.84e-05/0.2751, allocations: 130.9 kB / 1.045 GB, free: 9.859 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.923e-05/0.2752, allocations: 123.2 kB / 1.046 GB, free: 9.738 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.2753, allocations: 152.6 kB / 1.046 GB, free: 9.578 MB / 1.01 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.2753, allocations: 4 kB / 1.046 GB, free: 9.574 MB / 1.01 GB Notification: Performance of matching and sorting (n=0): time 0.0001083/0.2754, allocations: 49.52 kB / 1.046 GB, free: 9.52 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.2756, allocations: 222 kB / 1.046 GB, free: 9.277 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.2759, allocations: 259.3 kB / 1.046 GB, free: 9.008 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2759, allocations: 25.7 kB / 1.046 GB, free: 8.977 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.2761, allocations: 198.5 kB / 1.046 GB, free: 8.777 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.2761, allocations: 0 / 1.046 GB, free: 8.777 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.2761, allocations: 23.38 kB / 1.046 GB, free: 8.746 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000498/0.2766, allocations: 0.5001 MB / 1.047 GB, free: 8.234 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.2766, allocations: 4 kB / 1.047 GB, free: 8.23 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.2768, allocations: 191.9 kB / 1.047 GB, free: 7.98 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.496e-05/0.2769, allocations: 66.5 kB / 1.047 GB, free: 7.895 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/0.2769, allocations: 4 kB / 1.047 GB, free: 7.891 MB / 1.01 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002082/0.2771, allocations: 81.47 kB / 1.047 GB, free: 7.805 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.2772, allocations: 8.141 kB / 1.047 GB, free: 7.797 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.2772, allocations: 8 kB / 1.047 GB, free: 7.789 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.2772, allocations: 3.938 kB / 1.047 GB, free: 7.785 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.95e-05/0.2773, allocations: 11.94 kB / 1.047 GB, free: 7.773 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.2773, allocations: 0 / 1.047 GB, free: 7.773 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.2773, allocations: 4 kB / 1.047 GB, free: 7.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.2774, allocations: 4 kB / 1.047 GB, free: 7.766 MB / 1.01 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.0002295/0.2776, allocations: 291.8 kB / 1.048 GB, free: 7.469 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.2777, allocations: 160.8 kB / 1.048 GB, free: 7.305 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.2778, allocations: 161.3 kB / 1.048 GB, free: 7.141 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001615/0.278, allocations: 268.1 kB / 1.048 GB, free: 6.871 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001739/0.2782, allocations: 280 kB / 1.048 GB, free: 6.59 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001487/0.2783, allocations: 268.1 kB / 1.049 GB, free: 6.32 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.2787, allocations: 0.5389 MB / 1.049 GB, free: 5.738 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.762e-05/0.2788, allocations: 152.8 kB / 1.049 GB, free: 5.582 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-05/0.2789, allocations: 144.9 kB / 1.049 GB, free: 5.434 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.2791, allocations: 276 kB / 1.05 GB, free: 5.156 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.2792, allocations: 268.1 kB / 1.05 GB, free: 4.887 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000141/0.2793, allocations: 272 kB / 1.05 GB, free: 4.613 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000146/0.2795, allocations: 268 kB / 1.051 GB, free: 4.344 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.2798, allocations: 459.9 kB / 1.051 GB, free: 3.867 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.2799, allocations: 160.8 kB / 1.051 GB, free: 3.703 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.2801, allocations: 268 kB / 1.051 GB, free: 3.434 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.2802, allocations: 144.9 kB / 1.051 GB, free: 3.285 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.2804, allocations: 276 kB / 1.052 GB, free: 3.008 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.2805, allocations: 148.8 kB / 1.052 GB, free: 2.855 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00017/0.2807, allocations: 171.2 kB / 1.052 GB, free: 2.688 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.2807, allocations: 0 / 1.052 GB, free: 2.688 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002862/0.281, allocations: 35.89 kB / 1.052 GB, free: 2.652 MB / 1.01 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.0002474/0.2812, allocations: 210.4 kB / 1.052 GB, free: 2.438 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.2813, allocations: 35.61 kB / 1.052 GB, free: 2.398 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2813, allocations: 0 / 1.052 GB, free: 2.398 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.2813, allocations: 3.938 kB / 1.052 GB, free: 2.395 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.2821, allocations: 0.7203 MB / 1.053 GB, free: 1.672 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000626/0.2827, allocations: 366.2 kB / 1.053 GB, free: 1.285 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.2828, allocations: 101.9 kB / 1.053 GB, free: 1.164 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 5.002e-05/0.2829, allocations: 8.484 kB / 1.053 GB, free: 1.156 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.2829, allocations: 12.5 kB / 1.053 GB, free: 1.145 MB / 1.01 GB Notification: Performance of SimCode: time 9.72e-07/0.2829, allocations: 0 / 1.053 GB, free: 1.145 MB / 1.01 GB Notification: Performance of Templates: time 0.004508/0.2874, allocations: 0.8327 MB / 1.054 GB, free: 344 kB / 1.01 GB " [Timeout remaining time 299] 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.212303517037071]