Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001499/0.001499, 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.001679/0.001679, 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.626/1.626, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.813/2.813, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.448e-05/5.769e-05, allocations: 3.562 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2573/0.2573, allocations: 146.5 MB / 0.9294 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.008324/0.2657, allocations: 5.166 MB / 0.9344 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.266, allocations: 15.94 kB / 0.9345 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006062/0.2666, allocations: 95.25 kB / 0.9346 GB, free: 4.594 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.267, allocations: 51.62 kB / 0.9346 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.2672, allocations: 43.88 kB / 0.9346 GB, free: 4.5 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0004764/0.2677, allocations: 223 kB / 0.9349 GB, free: 4.281 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.2679, allocations: 58.86 kB / 0.9349 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.2684, allocations: 135.6 kB / 0.935 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.2686, allocations: 59.81 kB / 0.9351 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.2686, allocations: 12 kB / 0.9351 GB, free: 4.02 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 3.232e-05/0.2686, allocations: 8 kB / 0.9351 GB, free: 4.012 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.2687, allocations: 31.86 kB / 0.9351 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 9.789e-05/0.2688, allocations: 43.91 kB / 0.9352 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.2691, allocations: 159.5 kB / 0.9353 GB, free: 3.781 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2691, allocations: 3.938 kB / 0.9353 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2691, allocations: 0 / 0.9353 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.2691, allocations: 0 / 0.9353 GB, free: 3.777 MB / 0.8855 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.0008764/0.27, allocations: 369.4 kB / 0.9357 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.2701, allocations: 16.03 kB / 0.9357 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.2702, allocations: 23.91 kB / 0.9357 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.2706, allocations: 200.9 kB / 0.9359 GB, free: 3.125 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.2706, allocations: 8 kB / 0.9359 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.2706, allocations: 15.94 kB / 0.936 GB, free: 3.102 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.271, allocations: 211.9 kB / 0.9362 GB, free: 2.852 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.2711, allocations: 11.92 kB / 0.9362 GB, free: 2.84 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.2711, allocations: 4 kB / 0.9362 GB, free: 2.836 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.2711, allocations: 4 kB / 0.9362 GB, free: 2.832 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.2712, allocations: 63.91 kB / 0.9362 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.2725, allocations: 1.055 MB / 0.9373 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.2727, allocations: 169.1 kB / 0.9374 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.387e-05/0.2728, allocations: 80.14 kB / 0.9375 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.2728, allocations: 75.28 kB / 0.9376 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.023e-05/0.2729, allocations: 113.8 kB / 0.9377 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.2729, allocations: 0 / 0.9377 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.000112/0.273, allocations: 41.59 kB / 0.9377 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.2732, allocations: 182.1 kB / 0.9379 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.2734, allocations: 178.7 kB / 0.9381 GB, free: 0.7695 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.2735, allocations: 25.7 kB / 0.9381 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.2736, allocations: 147.7 kB / 0.9382 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-06/0.2736, allocations: 0 / 0.9382 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.2736, allocations: 21.7 kB / 0.9383 GB, free: 0.5625 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.2738, allocations: 322.9 kB / 0.9386 GB, free: 244 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-05/0.2739, allocations: 15.98 kB / 0.9386 GB, free: 228 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.274, allocations: 174.5 kB / 0.9387 GB, free: 0 / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.358e-05/0.2741, allocations: 52.33 kB / 0.9388 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2741, allocations: 0 / 0.9388 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002227/0.2743, allocations: 81.5 kB / 0.9389 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2744, allocations: 4 kB / 0.9389 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.2744, allocations: 4 kB / 0.9389 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.2744, allocations: 8.094 kB / 0.9389 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.383e-05/0.2745, allocations: 8 kB / 0.9389 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2745, allocations: 0 / 0.9389 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.319e-05/0.2746, allocations: 11.89 kB / 0.9389 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.2746, allocations: 7.984 kB / 0.9389 GB, free: 15.8 MB / 0.9011 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.0002094/0.2748, allocations: 205.1 kB / 0.9391 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.2749, allocations: 116.9 kB / 0.9392 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.681e-05/0.275, allocations: 109.5 kB / 0.9393 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000121/0.2751, allocations: 188.1 kB / 0.9395 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001168/0.2752, allocations: 180.3 kB / 0.9397 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001229/0.2754, allocations: 188.2 kB / 0.9399 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.2757, allocations: 388.8 kB / 0.9402 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.256e-05/0.2758, allocations: 105 kB / 0.9403 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.77e-05/0.2759, allocations: 104.9 kB / 0.9404 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/0.276, allocations: 180.3 kB / 0.9406 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/0.2761, allocations: 184.2 kB / 0.9408 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001143/0.2762, allocations: 176.3 kB / 0.9409 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001129/0.2763, allocations: 184.2 kB / 0.9411 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.2766, allocations: 319.7 kB / 0.9414 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.174e-05/0.2767, allocations: 112.9 kB / 0.9415 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.2768, allocations: 180.2 kB / 0.9417 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.2769, allocations: 112.9 kB / 0.9418 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.2771, allocations: 184.1 kB / 0.942 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.37e-05/0.2771, allocations: 105.1 kB / 0.9421 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001609/0.2773, allocations: 133 kB / 0.9422 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.2773, allocations: 4 kB / 0.9422 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003437/0.2776, allocations: 31.89 kB / 0.9422 GB, free: 12.2 MB / 0.9011 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.0001732/0.2778, allocations: 166.5 kB / 0.9424 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.2779, allocations: 28.11 kB / 0.9424 GB, free: 12 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2779, allocations: 4.125 kB / 0.9424 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.2779, allocations: 0 / 0.9424 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.2785, allocations: 473.3 kB / 0.9429 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.2791, allocations: 316.8 kB / 0.9432 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.2793, allocations: 101.4 kB / 0.9433 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 5.67e-05/0.2793, allocations: 16.48 kB / 0.9433 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.2794, allocations: 12.5 kB / 0.9433 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of SimCode: time 1.323e-06/0.2794, allocations: 0 / 0.9433 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of Templates: time 0.004391/0.2838, allocations: 0.8246 MB / 0.9441 GB, free: 10.24 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.829286867985502]