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.001566/0.001566, allocations: 95.06 kB / 19.44 MB, free: 464 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.001671/0.001671, allocations: 169.2 kB / 22.75 MB, free: 1.789 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.631/1.631, allocations: 177.2 MB / 203.1 MB, free: 5.613 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.5/3.5, allocations: 429.6 MB / 0.673 GB, free: 3.891 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 5.42e-06/5.42e-06, allocations: 4 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.5e-05/4.042e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2444/0.2444, allocations: 146.5 MB / 1.021 GB, free: 3.516 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.007197/0.2516, allocations: 5.155 MB / 1.026 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.2518, allocations: 7.938 kB / 1.026 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004911/0.2523, allocations: 103.2 kB / 1.026 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.2526, allocations: 63.55 kB / 1.026 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.2527, allocations: 39.94 kB / 1.026 GB, free: 14.13 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.2531, allocations: 219 kB / 1.026 GB, free: 13.92 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.2534, allocations: 50.92 kB / 1.026 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/0.2537, allocations: 135.6 kB / 1.026 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.2539, allocations: 59.81 kB / 1.026 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.2539, allocations: 8 kB / 1.026 GB, free: 13.66 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.92e-05/0.2539, allocations: 12 kB / 1.026 GB, free: 13.65 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.254, allocations: 35.86 kB / 1.026 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/0.2541, allocations: 47.84 kB / 1.026 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.2544, allocations: 163.4 kB / 1.027 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2544, allocations: 0 / 1.027 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2544, allocations: 0 / 1.027 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.2544, allocations: 0 / 1.027 GB, free: 13.41 MB / 0.9948 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.0008375/0.2552, allocations: 369.6 kB / 1.027 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2553, allocations: 8.031 kB / 1.027 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.976e-05/0.2554, allocations: 27.91 kB / 1.027 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.2557, allocations: 207.7 kB / 1.027 GB, free: 12.76 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.2558, allocations: 8.234 kB / 1.027 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.2558, allocations: 16 kB / 1.027 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.2561, allocations: 225.2 kB / 1.027 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.2561, allocations: 0 / 1.027 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.2562, allocations: 4 kB / 1.027 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.2562, allocations: 4 kB / 1.027 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.2563, allocations: 75.83 kB / 1.027 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.2575, allocations: 1.043 MB / 1.028 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.2577, allocations: 173.1 kB / 1.029 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.367e-05/0.2577, allocations: 80.14 kB / 1.029 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.2578, allocations: 75.28 kB / 1.029 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.686e-05/0.2579, allocations: 109.8 kB / 1.029 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2579, allocations: 0 / 1.029 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 9.7e-05/0.258, allocations: 45.53 kB / 1.029 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.2581, allocations: 186 kB / 1.029 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.2583, allocations: 176.5 kB / 1.029 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.2583, allocations: 33.7 kB / 1.029 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.2585, allocations: 143.7 kB / 1.029 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-06/0.2585, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.2586, allocations: 21.72 kB / 1.029 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.2588, allocations: 326.9 kB / 1.03 GB, free: 9.859 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.2588, allocations: 8 kB / 1.03 GB, free: 9.852 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.259, allocations: 166.5 kB / 1.03 GB, free: 9.637 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.903e-05/0.259, allocations: 56.22 kB / 1.03 GB, free: 9.566 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2591, allocations: 0 / 1.03 GB, free: 9.566 MB / 0.9948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001944/0.2592, allocations: 81.47 kB / 1.03 GB, free: 9.48 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2593, allocations: 8 kB / 1.03 GB, free: 9.473 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2593, allocations: 48 / 1.03 GB, free: 9.473 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.2593, allocations: 15.91 kB / 1.03 GB, free: 9.457 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.2594, allocations: 4 kB / 1.03 GB, free: 9.453 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2594, allocations: 8.094 kB / 1.03 GB, free: 9.445 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/0.2594, allocations: 8 kB / 1.03 GB, free: 9.438 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.2594, allocations: 0 / 1.03 GB, free: 9.438 MB / 0.9948 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.0001842/0.2596, allocations: 209.1 kB / 1.03 GB, free: 9.223 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.905e-05/0.2597, allocations: 112.9 kB / 1.03 GB, free: 9.105 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.146e-05/0.2598, allocations: 117.4 kB / 1.031 GB, free: 8.984 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001292/0.2599, allocations: 180.2 kB / 1.031 GB, free: 8.801 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000123/0.2601, allocations: 184.2 kB / 1.031 GB, free: 8.613 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.917e-05/0.2602, allocations: 180.3 kB / 1.031 GB, free: 8.43 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.2605, allocations: 388.8 kB / 1.031 GB, free: 8.012 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.886e-05/0.2606, allocations: 105 kB / 1.032 GB, free: 7.902 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.498e-05/0.2606, allocations: 113 kB / 1.032 GB, free: 7.785 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.2607, allocations: 188.2 kB / 1.032 GB, free: 7.594 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.561e-05/0.2608, allocations: 176.3 kB / 1.032 GB, free: 7.414 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.5e-05/0.2609, allocations: 180.3 kB / 1.032 GB, free: 7.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001061/0.261, allocations: 184.1 kB / 1.032 GB, free: 7.043 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.2614, allocations: 323.7 kB / 1.033 GB, free: 6.703 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.074e-05/0.2615, allocations: 108.9 kB / 1.033 GB, free: 6.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.2616, allocations: 180.3 kB / 1.033 GB, free: 6.406 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.2617, allocations: 108.9 kB / 1.033 GB, free: 6.293 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.2618, allocations: 192.2 kB / 1.033 GB, free: 6.098 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/0.2619, allocations: 108.9 kB / 1.033 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001319/0.262, allocations: 132.2 kB / 1.033 GB, free: 5.855 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.262, allocations: 0 / 1.033 GB, free: 5.855 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002784/0.2623, allocations: 27.89 kB / 1.033 GB, free: 5.828 MB / 0.9948 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.0001758/0.2625, allocations: 170.5 kB / 1.034 GB, free: 5.652 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.822e-05/0.2626, allocations: 19.94 kB / 1.034 GB, free: 5.633 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.2626, allocations: 4 kB / 1.034 GB, free: 5.629 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.2626, allocations: 0 / 1.034 GB, free: 5.629 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.2632, allocations: 478.3 kB / 1.034 GB, free: 5.16 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005746/0.2638, allocations: 320.6 kB / 1.034 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.2639, allocations: 101.6 kB / 1.035 GB, free: 4.699 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 5.887e-05/0.2639, allocations: 24.41 kB / 1.035 GB, free: 4.676 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.264, allocations: 12.5 kB / 1.035 GB, free: 4.66 MB / 0.9948 GB Notification: Performance of SimCode: time 6.51e-07/0.264, allocations: 0 / 1.035 GB, free: 4.66 MB / 0.9948 GB Notification: Performance of Templates: time 0.003942/0.2679, allocations: 0.8184 MB / 1.035 GB, free: 3.863 MB / 0.9948 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 800] 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: 9.340811328962445]