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.00157/0.00157, allocations: 105.4 kB / 16.45 MB, free: 6.453 MB / 14.72 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.001527/0.001527, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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.546/1.546, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.341/3.341, allocations: 0.4899 GB / 0.7915 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 72.2 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.438, allocations: 176.1 MB / 1.321 GB, free: 2.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2349/0.6729, allocations: 169.5 MB / 1.487 GB, free: 8.699 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008006/0.6809, allocations: 5.739 MB / 1.492 GB, free: 2.941 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004892/0.6814, allocations: 11.88 kB / 1.492 GB, free: 2.93 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007067/0.6821, allocations: 95.31 kB / 1.493 GB, free: 2.836 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.6824, allocations: 63.59 kB / 1.493 GB, free: 2.773 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.6826, allocations: 35.95 kB / 1.493 GB, free: 2.738 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.6831, allocations: 211.2 kB / 1.493 GB, free: 2.531 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.6834, allocations: 62.64 kB / 1.493 GB, free: 2.469 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.6837, allocations: 107.6 kB / 1.493 GB, free: 2.363 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.6839, allocations: 75.58 kB / 1.493 GB, free: 2.289 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.6839, allocations: 12 kB / 1.493 GB, free: 2.277 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 2.869e-05/0.684, allocations: 8 kB / 1.493 GB, free: 2.27 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 8.227e-05/0.684, allocations: 35.84 kB / 1.493 GB, free: 2.234 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.6842, allocations: 67.67 kB / 1.493 GB, free: 2.168 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.6845, allocations: 159.2 kB / 1.493 GB, free: 2.012 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.6845, allocations: 4 kB / 1.493 GB, free: 2.008 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.276e-06/0.6845, allocations: 3.938 kB / 1.493 GB, free: 2.004 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.6845, allocations: 0 / 1.493 GB, free: 2.004 MB / 1.186 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.001057/0.6856, allocations: 450.5 kB / 1.494 GB, free: 1.516 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/0.6856, allocations: 11.98 kB / 1.494 GB, free: 1.504 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.6857, allocations: 19.91 kB / 1.494 GB, free: 1.484 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.6862, allocations: 255.9 kB / 1.494 GB, free: 1.195 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.6862, allocations: 8 kB / 1.494 GB, free: 1.188 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.6862, allocations: 12 kB / 1.494 GB, free: 1.176 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.6866, allocations: 165.2 kB / 1.494 GB, free: 0.9844 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6866, allocations: 4 kB / 1.494 GB, free: 0.9805 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.6866, allocations: 4 kB / 1.494 GB, free: 0.9766 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.6866, allocations: 4 kB / 1.494 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.6868, allocations: 79.83 kB / 1.494 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.6881, allocations: 1.145 MB / 1.495 GB, free: 15.67 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.6882, allocations: 165.1 kB / 1.496 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.632e-05/0.6883, allocations: 80.14 kB / 1.496 GB, free: 15.42 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-05/0.6884, allocations: 87.22 kB / 1.496 GB, free: 15.33 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.6885, allocations: 109.8 kB / 1.496 GB, free: 15.21 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.6885, allocations: 0 / 1.496 GB, free: 15.21 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.000133/0.6886, allocations: 49.53 kB / 1.496 GB, free: 15.16 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.6887, allocations: 178.1 kB / 1.496 GB, free: 14.96 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.6891, allocations: 249 kB / 1.496 GB, free: 14.71 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.6891, allocations: 33.62 kB / 1.496 GB, free: 14.67 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.6893, allocations: 131.9 kB / 1.496 GB, free: 14.54 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.01e-06/0.6893, allocations: 4 kB / 1.496 GB, free: 14.53 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.6893, allocations: 21.72 kB / 1.496 GB, free: 14.5 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.6895, allocations: 330.8 kB / 1.497 GB, free: 14.17 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.6895, allocations: 8 kB / 1.497 GB, free: 14.16 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.904e-05/0.6896, allocations: 67.7 kB / 1.497 GB, free: 14.07 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.604e-05/0.6897, allocations: 64.19 kB / 1.497 GB, free: 13.99 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6897, allocations: 0 / 1.497 GB, free: 13.99 MB / 1.201 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002035/0.6899, allocations: 89.53 kB / 1.497 GB, free: 13.9 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.6899, allocations: 7.938 kB / 1.497 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6899, allocations: 128 / 1.497 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.69, allocations: 4 kB / 1.497 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.69, allocations: 15.94 kB / 1.497 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.6901, allocations: 3.984 kB / 1.497 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.611e-05/0.6901, allocations: 15.84 kB / 1.497 GB, free: 13.85 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.6902, allocations: 4 kB / 1.497 GB, free: 13.85 MB / 1.201 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.000202/0.6904, allocations: 205.2 kB / 1.497 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.6905, allocations: 128.8 kB / 1.497 GB, free: 13.5 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.644e-05/0.6905, allocations: 121.8 kB / 1.497 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001134/0.6907, allocations: 180.3 kB / 1.498 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-05/0.6908, allocations: 184.2 kB / 1.498 GB, free: 13.01 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.877e-05/0.6908, allocations: 176.3 kB / 1.498 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.6912, allocations: 453.2 kB / 1.498 GB, free: 12.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-05/0.6913, allocations: 108.9 kB / 1.499 GB, free: 12.21 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.6913, allocations: 101 kB / 1.499 GB, free: 12.11 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001382/0.6915, allocations: 184.2 kB / 1.499 GB, free: 11.92 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.6916, allocations: 176.3 kB / 1.499 GB, free: 11.74 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001009/0.6917, allocations: 184.2 kB / 1.499 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.124e-05/0.6918, allocations: 188.2 kB / 1.499 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.692, allocations: 311.7 kB / 1.5 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.6921, allocations: 201.9 kB / 1.5 GB, free: 10.81 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.6923, allocations: 184.3 kB / 1.5 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.6924, allocations: 108.9 kB / 1.5 GB, free: 10.51 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.6925, allocations: 184.2 kB / 1.5 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/0.6926, allocations: 108.9 kB / 1.5 GB, free: 10.21 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002017/0.6928, allocations: 176.5 kB / 1.501 GB, free: 10.04 MB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/0.6928, allocations: 0 / 1.501 GB, free: 10.04 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002751/0.693, allocations: 24 kB / 1.501 GB, free: 10.02 MB / 1.201 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.0002124/0.6933, allocations: 178.5 kB / 1.501 GB, free: 9.828 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.6934, allocations: 19.94 kB / 1.501 GB, free: 9.809 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6934, allocations: 3.938 kB / 1.501 GB, free: 9.805 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.6934, allocations: 0 / 1.501 GB, free: 9.805 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007356/0.6941, allocations: 0.5042 MB / 1.501 GB, free: 9.297 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000613/0.6947, allocations: 335.1 kB / 1.502 GB, free: 8.941 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.6951, allocations: 0.7124 MB / 1.502 GB, free: 8.203 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 7.4e-05/0.6952, allocations: 37.38 kB / 1.502 GB, free: 8.164 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.6952, allocations: 15.44 kB / 1.502 GB, free: 8.148 MB / 1.201 GB Notification: Performance of SimCode: time 2.81e-07/0.6952, allocations: 0 / 1.502 GB, free: 8.148 MB / 1.201 GB Notification: Performance of Templates: time 0.005885/0.7011, allocations: 1.969 MB / 1.504 GB, free: 6.211 MB / 1.201 GB " [Timeout remaining time 299] 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: 9.9666171008721]