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.002039/0.002039, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002691/0.002691, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.702/1.702, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 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.732/3.732, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002321/0.002321, allocations: 64.48 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5754/0.5778, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2491/0.8268, allocations: 146.5 MB / 1.507 GB, free: 10.5 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007039/0.8339, allocations: 5.179 MB / 1.512 GB, free: 5.305 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.8342, allocations: 7.938 kB / 1.512 GB, free: 5.297 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005417/0.8347, allocations: 99.31 kB / 1.512 GB, free: 5.199 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.835, allocations: 63.61 kB / 1.512 GB, free: 5.137 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.8352, allocations: 35.94 kB / 1.512 GB, free: 5.102 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.000369/0.8355, allocations: 215.1 kB / 1.512 GB, free: 4.891 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.8358, allocations: 58.86 kB / 1.512 GB, free: 4.836 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.836, allocations: 107.6 kB / 1.513 GB, free: 4.73 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.8362, allocations: 63.64 kB / 1.513 GB, free: 4.668 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.8362, allocations: 12 kB / 1.513 GB, free: 4.656 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 2.793e-05/0.8363, allocations: 8 kB / 1.513 GB, free: 4.648 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.8363, allocations: 31.91 kB / 1.513 GB, free: 4.617 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 8.814e-05/0.8364, allocations: 63.67 kB / 1.513 GB, free: 4.555 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.8367, allocations: 163.2 kB / 1.513 GB, free: 4.395 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8367, allocations: 0 / 1.513 GB, free: 4.395 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.485e-06/0.8367, allocations: 0 / 1.513 GB, free: 4.395 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.8367, allocations: 0 / 1.513 GB, free: 4.395 MB / 1.201 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.0007371/0.8375, allocations: 369.7 kB / 1.513 GB, free: 4.004 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.8375, allocations: 8.031 kB / 1.513 GB, free: 3.996 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.8376, allocations: 15.91 kB / 1.513 GB, free: 3.98 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.8379, allocations: 204.8 kB / 1.513 GB, free: 3.754 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.838, allocations: 12.23 kB / 1.513 GB, free: 3.742 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.838, allocations: 8 kB / 1.513 GB, free: 3.734 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.8383, allocations: 224.1 kB / 1.514 GB, free: 3.473 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.8383, allocations: 0 / 1.514 GB, free: 3.473 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.8384, allocations: 4 kB / 1.514 GB, free: 3.469 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.8384, allocations: 4 kB / 1.514 GB, free: 3.465 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.8385, allocations: 75.83 kB / 1.514 GB, free: 3.391 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.8396, allocations: 1.047 MB / 1.515 GB, free: 2.285 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.8398, allocations: 165.1 kB / 1.515 GB, free: 2.113 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.8398, allocations: 88.14 kB / 1.515 GB, free: 2.023 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.8399, allocations: 79.22 kB / 1.515 GB, free: 1.945 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.264e-05/0.8399, allocations: 117.7 kB / 1.515 GB, free: 1.82 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.8399, allocations: 0 / 1.515 GB, free: 1.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.000105/0.84, allocations: 41.69 kB / 1.515 GB, free: 1.773 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.8402, allocations: 178.1 kB / 1.515 GB, free: 1.574 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.8404, allocations: 186.7 kB / 1.516 GB, free: 1.383 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.8404, allocations: 25.7 kB / 1.516 GB, free: 1.352 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.8405, allocations: 151.7 kB / 1.516 GB, free: 1.199 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-06/0.8405, allocations: 0 / 1.516 GB, free: 1.199 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.8406, allocations: 21.72 kB / 1.516 GB, free: 1.172 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.8408, allocations: 322.8 kB / 1.516 GB, free: 0.8477 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.8408, allocations: 4 kB / 1.516 GB, free: 0.8438 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.8409, allocations: 174.5 kB / 1.516 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.088e-05/0.841, allocations: 48.22 kB / 1.516 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.841, allocations: 4 kB / 1.516 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001846/0.8412, allocations: 77.58 kB / 1.516 GB, free: 484 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.8412, allocations: 15.86 kB / 1.516 GB, free: 468 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.8412, allocations: 4 kB / 1.516 GB, free: 464 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.8412, allocations: 0 / 1.516 GB, free: 464 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.8413, allocations: 8 kB / 1.516 GB, free: 456 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.8413, allocations: 0 / 1.516 GB, free: 456 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.8414, allocations: 7.953 kB / 1.516 GB, free: 448 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.8414, allocations: 8.156 kB / 1.516 GB, free: 440 kB / 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.0001834/0.8416, allocations: 209 kB / 1.517 GB, free: 220 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.8417, allocations: 116.9 kB / 1.517 GB, free: 96 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.8418, allocations: 125.3 kB / 1.517 GB, free: 15.96 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.316e-05/0.8419, allocations: 184.3 kB / 1.517 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-05/0.842, allocations: 180.2 kB / 1.517 GB, free: 15.59 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001123/0.8421, allocations: 180.3 kB / 1.517 GB, free: 15.41 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.8424, allocations: 396.8 kB / 1.518 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.682e-05/0.8425, allocations: 105 kB / 1.518 GB, free: 14.87 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.8425, allocations: 105 kB / 1.518 GB, free: 14.76 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.376e-05/0.8426, allocations: 184.2 kB / 1.518 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.8427, allocations: 184.2 kB / 1.518 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001042/0.8429, allocations: 184.2 kB / 1.518 GB, free: 14.2 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.995e-05/0.843, allocations: 176.3 kB / 1.519 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.8431, allocations: 319.7 kB / 1.519 GB, free: 13.68 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.8432, allocations: 112.9 kB / 1.519 GB, free: 13.57 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.8434, allocations: 184.1 kB / 1.519 GB, free: 13.38 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.8435, allocations: 109 kB / 1.519 GB, free: 13.27 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.8436, allocations: 180.2 kB / 1.52 GB, free: 13.08 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/0.8436, allocations: 108.9 kB / 1.52 GB, free: 12.97 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001301/0.8438, allocations: 135.2 kB / 1.52 GB, free: 12.84 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.8438, allocations: 4 kB / 1.52 GB, free: 12.83 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000282/0.8441, allocations: 27.95 kB / 1.52 GB, free: 12.8 MB / 1.217 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.0001589/0.8442, allocations: 166.5 kB / 1.52 GB, free: 12.63 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.8443, allocations: 19.94 kB / 1.52 GB, free: 12.61 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.8444, allocations: 0 / 1.52 GB, free: 12.61 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.8444, allocations: 0 / 1.52 GB, free: 12.61 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.8449, allocations: 471.7 kB / 1.52 GB, free: 12.15 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006096/0.8455, allocations: 335.8 kB / 1.521 GB, free: 11.79 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.8456, allocations: 101.6 kB / 1.521 GB, free: 11.68 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 5.383e-05/0.8457, allocations: 12.42 kB / 1.521 GB, free: 11.66 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.8457, allocations: 11.44 kB / 1.521 GB, free: 11.65 MB / 1.217 GB Notification: Performance of SimCode: time 2.81e-07/0.8457, allocations: 4 kB / 1.521 GB, free: 11.65 MB / 1.217 GB Notification: Performance of Templates: time 0.004333/0.8501, allocations: 0.9692 MB / 1.522 GB, free: 10.7 MB / 1.217 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=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: 11.320681147277355]