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.001599/0.001599, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001913/0.001913, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.602 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 2.956/2.956, allocations: 377.8 MB / 0.6232 GB, free: 8.492 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 1.933e-06/1.933e-06, allocations: 0 / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.54e-05/4.733e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2522/0.2523, allocations: 146.5 MB / 0.9538 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.007399/0.2597, allocations: 5.166 MB / 0.9589 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.26, allocations: 7.938 kB / 0.9589 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.2604, allocations: 107.2 kB / 0.959 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.2607, allocations: 55.61 kB / 0.959 GB, free: 9.824 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.2608, allocations: 39.89 kB / 0.9591 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.2612, allocations: 223 kB / 0.9593 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.2614, allocations: 62.8 kB / 0.9593 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.2617, allocations: 131.6 kB / 0.9595 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.2619, allocations: 59.81 kB / 0.9595 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.2619, allocations: 12 kB / 0.9595 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 2.69e-05/0.2619, allocations: 12 kB / 0.9595 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.001e-05/0.262, allocations: 27.86 kB / 0.9596 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.909e-05/0.2621, allocations: 47.91 kB / 0.9596 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.2623, allocations: 163.4 kB / 0.9598 GB, free: 9.062 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2623, allocations: 0 / 0.9598 GB, free: 9.062 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2623, allocations: 0 / 0.9598 GB, free: 9.062 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2623, allocations: 0 / 0.9598 GB, free: 9.062 MB / 0.9167 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.0007282/0.2631, allocations: 365.4 kB / 0.9601 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2631, allocations: 12.03 kB / 0.9601 GB, free: 8.664 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.2632, allocations: 23.91 kB / 0.9602 GB, free: 8.641 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.2635, allocations: 200.8 kB / 0.9603 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.2635, allocations: 15.94 kB / 0.9604 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.2636, allocations: 12 kB / 0.9604 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.2639, allocations: 220.8 kB / 0.9606 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2639, allocations: 0 / 0.9606 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.2639, allocations: 8 kB / 0.9606 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2639, allocations: 4 kB / 0.9606 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.2641, allocations: 75.83 kB / 0.9607 GB, free: 8.047 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.2652, allocations: 1.043 MB / 0.9617 GB, free: 6.945 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.2653, allocations: 169.1 kB / 0.9618 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.674e-05/0.2654, allocations: 80.14 kB / 0.9619 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.2654, allocations: 83.22 kB / 0.962 GB, free: 6.605 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.931e-05/0.2655, allocations: 109.8 kB / 0.9621 GB, free: 6.488 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2655, allocations: 0 / 0.9621 GB, free: 6.488 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 8.802e-05/0.2656, allocations: 37.59 kB / 0.9621 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.2657, allocations: 182.1 kB / 0.9623 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.2659, allocations: 178.3 kB / 0.9625 GB, free: 6.055 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.2659, allocations: 25.7 kB / 0.9625 GB, free: 6.023 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.2661, allocations: 151.7 kB / 0.9627 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.2661, allocations: 0 / 0.9627 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.2661, allocations: 25.7 kB / 0.9627 GB, free: 5.84 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.2663, allocations: 322.9 kB / 0.963 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.296e-05/0.2663, allocations: 8 kB / 0.963 GB, free: 5.508 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.2665, allocations: 174.5 kB / 0.9632 GB, free: 5.285 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.039e-05/0.2666, allocations: 52.22 kB / 0.9632 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2666, allocations: 0 / 0.9632 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001853/0.2668, allocations: 85.52 kB / 0.9633 GB, free: 5.129 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2668, allocations: 4 kB / 0.9633 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2668, allocations: 0 / 0.9633 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/0.2668, allocations: 7.938 kB / 0.9633 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.2669, allocations: 8.156 kB / 0.9633 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.2669, allocations: 7.984 kB / 0.9633 GB, free: 5.102 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/0.267, allocations: 8.078 kB / 0.9633 GB, free: 5.094 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.267, allocations: 8 kB / 0.9633 GB, free: 5.086 MB / 0.9167 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.0001663/0.2671, allocations: 205 kB / 0.9635 GB, free: 4.875 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.2672, allocations: 116.9 kB / 0.9636 GB, free: 4.754 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.16e-05/0.2673, allocations: 113.5 kB / 0.9638 GB, free: 4.641 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002311/0.2676, allocations: 184.1 kB / 0.9639 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001141/0.2677, allocations: 184.2 kB / 0.9641 GB, free: 4.266 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001078/0.2678, allocations: 180.2 kB / 0.9643 GB, free: 4.082 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.2681, allocations: 392.8 kB / 0.9647 GB, free: 3.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-05/0.2682, allocations: 105 kB / 0.9648 GB, free: 3.551 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/0.2682, allocations: 108.9 kB / 0.9649 GB, free: 3.438 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.629e-05/0.2683, allocations: 176.3 kB / 0.965 GB, free: 3.258 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.2684, allocations: 180.2 kB / 0.9652 GB, free: 3.074 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001154/0.2685, allocations: 188.2 kB / 0.9654 GB, free: 2.879 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.977e-05/0.2686, allocations: 180.2 kB / 0.9655 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.2689, allocations: 311.7 kB / 0.9658 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.373e-05/0.2689, allocations: 120.9 kB / 0.966 GB, free: 2.242 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.2691, allocations: 180.3 kB / 0.9661 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.2692, allocations: 101 kB / 0.9662 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.2693, allocations: 196.2 kB / 0.9664 GB, free: 1.754 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/0.2694, allocations: 101 kB / 0.9665 GB, free: 1.648 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001423/0.2695, allocations: 137.2 kB / 0.9666 GB, free: 1.516 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2695, allocations: 0 / 0.9666 GB, free: 1.516 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002816/0.2698, allocations: 27.89 kB / 0.9667 GB, free: 1.488 MB / 0.9167 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.0001681/0.27, allocations: 170.5 kB / 0.9668 GB, free: 1.312 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.814e-05/0.2701, allocations: 23.92 kB / 0.9669 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2701, allocations: 0 / 0.9669 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/0.2701, allocations: 4.25 kB / 0.9669 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.2706, allocations: 472.5 kB / 0.9673 GB, free: 0.8203 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.2711, allocations: 316.7 kB / 0.9676 GB, free: 496 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.2713, allocations: 101.6 kB / 0.9677 GB, free: 372 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.502e-05/0.2713, allocations: 16.48 kB / 0.9677 GB, free: 356 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.2713, allocations: 12.5 kB / 0.9677 GB, free: 344 kB / 0.9167 GB Notification: Performance of SimCode: time 4.31e-07/0.2713, allocations: 0 / 0.9677 GB, free: 344 kB / 0.9167 GB Notification: Performance of Templates: time 0.00404/0.2754, allocations: 0.8346 MB / 0.9685 GB, free: 15.53 MB / 0.9323 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 400] 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: 8.725961262942292]