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.001329/0.001329, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00156/0.00156, allocations: 215.8 kB / 23.04 MB, free: 5.07 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.291/3.291, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",version="2.0",platforms={"static"}) [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.001989/0.001989, allocations: 65.11 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3427, allocations: 179 MB / 1.345 GB, free: 484 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2063/0.549, allocations: 169.7 MB / 1.511 GB, free: 6.109 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006716/0.5558, allocations: 5.789 MB / 1.517 GB, free: 308 kB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002712/0.556, allocations: 7.938 kB / 1.517 GB, free: 300 kB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.5565, allocations: 99.31 kB / 1.517 GB, free: 200 kB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.5568, allocations: 63.53 kB / 1.517 GB, free: 136 kB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.5569, allocations: 43.89 kB / 1.517 GB, free: 92 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.5573, allocations: 211.1 kB / 1.517 GB, free: 15.88 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.5575, allocations: 62.84 kB / 1.517 GB, free: 15.82 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.5577, allocations: 99.64 kB / 1.517 GB, free: 15.72 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.5579, allocations: 79.56 kB / 1.517 GB, free: 15.64 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.5579, allocations: 12 kB / 1.517 GB, free: 15.63 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 2.08e-05/0.5579, allocations: 8 kB / 1.517 GB, free: 15.62 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.558, allocations: 31.86 kB / 1.517 GB, free: 15.59 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 9.161e-05/0.5581, allocations: 67.67 kB / 1.517 GB, free: 15.52 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.5583, allocations: 167.2 kB / 1.518 GB, free: 15.36 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.5583, allocations: 4 kB / 1.518 GB, free: 15.36 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5583, allocations: 0 / 1.518 GB, free: 15.36 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.5583, allocations: 0 / 1.518 GB, free: 15.36 MB / 1.217 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.0006378/0.559, allocations: 370.6 kB / 1.518 GB, free: 14.96 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.559, allocations: 12.03 kB / 1.518 GB, free: 14.95 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.475e-05/0.559, allocations: 0 / 1.518 GB, free: 14.95 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.5591, allocations: 46.55 kB / 1.518 GB, free: 14.9 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.5591, allocations: 27.84 kB / 1.518 GB, free: 14.87 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.5594, allocations: 188.8 kB / 1.518 GB, free: 14.66 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.5594, allocations: 8 kB / 1.518 GB, free: 14.65 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.5595, allocations: 12 kB / 1.518 GB, free: 14.64 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.5597, allocations: 169.6 kB / 1.518 GB, free: 14.45 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.5597, allocations: 4 kB / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.5597, allocations: 4 kB / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.5598, allocations: 4 kB / 1.518 GB, free: 14.43 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.5599, allocations: 75.78 kB / 1.519 GB, free: 14.36 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.5609, allocations: 1.109 MB / 1.52 GB, free: 13.18 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.561, allocations: 177.1 kB / 1.52 GB, free: 13 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.5611, allocations: 84.14 kB / 1.52 GB, free: 12.91 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.5611, allocations: 79.31 kB / 1.52 GB, free: 12.83 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.117e-05/0.5612, allocations: 113.8 kB / 1.52 GB, free: 12.71 MB / 1.217 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5612, allocations: 4 kB / 1.52 GB, free: 12.71 MB / 1.217 GB Notification: Performance of matching and sorting (n=0): time 8.856e-05/0.5612, allocations: 45.61 kB / 1.52 GB, free: 12.66 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/0.5613, allocations: 178.1 kB / 1.52 GB, free: 12.46 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.5616, allocations: 252.9 kB / 1.52 GB, free: 12.2 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.5617, allocations: 29.64 kB / 1.521 GB, free: 12.16 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.5618, allocations: 132 kB / 1.521 GB, free: 12.03 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-06/0.5618, allocations: 0 / 1.521 GB, free: 12.03 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.5618, allocations: 17.72 kB / 1.521 GB, free: 12.01 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.562, allocations: 334.8 kB / 1.521 GB, free: 11.67 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.47e-05/0.562, allocations: 12 kB / 1.521 GB, free: 11.66 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.961e-05/0.5621, allocations: 63.66 kB / 1.521 GB, free: 11.57 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.614e-05/0.5621, allocations: 56.22 kB / 1.521 GB, free: 11.5 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5621, allocations: 0 / 1.521 GB, free: 11.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001705/0.5623, allocations: 89.42 kB / 1.521 GB, free: 11.41 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.5623, allocations: 4 kB / 1.521 GB, free: 11.4 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5623, allocations: 12.09 kB / 1.521 GB, free: 11.39 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.5623, allocations: 3.938 kB / 1.521 GB, free: 11.39 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.5624, allocations: 8 kB / 1.521 GB, free: 11.38 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.5624, allocations: 7.969 kB / 1.521 GB, free: 11.37 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.243e-05/0.5625, allocations: 15.89 kB / 1.521 GB, free: 11.36 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.5625, allocations: 0 / 1.521 GB, free: 11.36 MB / 1.217 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.0001437/0.5627, allocations: 209 kB / 1.521 GB, free: 11.14 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.261e-05/0.5627, allocations: 120.8 kB / 1.522 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.202e-05/0.5628, allocations: 125.8 kB / 1.522 GB, free: 10.89 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-05/0.5629, allocations: 180.3 kB / 1.522 GB, free: 10.71 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-05/0.563, allocations: 180.2 kB / 1.522 GB, free: 10.52 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.76e-05/0.5631, allocations: 180.3 kB / 1.522 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.5634, allocations: 432.2 kB / 1.523 GB, free: 9.867 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.007e-05/0.5634, allocations: 109 kB / 1.523 GB, free: 9.754 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/0.5635, allocations: 101 kB / 1.523 GB, free: 9.648 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-05/0.5635, allocations: 180.2 kB / 1.523 GB, free: 9.465 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.183e-05/0.5636, allocations: 184.3 kB / 1.523 GB, free: 9.277 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.997e-05/0.5637, allocations: 184.2 kB / 1.523 GB, free: 9.09 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.669e-05/0.5638, allocations: 180.3 kB / 1.523 GB, free: 8.906 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.564, allocations: 327.6 kB / 1.524 GB, free: 8.562 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 7.83e-05/0.564, allocations: 116.9 kB / 1.524 GB, free: 8.441 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.5641, allocations: 180.2 kB / 1.524 GB, free: 8.258 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.5643, allocations: 109 kB / 1.524 GB, free: 8.145 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/0.5644, allocations: 188.2 kB / 1.524 GB, free: 7.953 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.5644, allocations: 101 kB / 1.524 GB, free: 7.848 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001983/0.5646, allocations: 184.5 kB / 1.525 GB, free: 7.664 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5646, allocations: 0 / 1.525 GB, free: 7.664 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00026/0.5649, allocations: 20 kB / 1.525 GB, free: 7.645 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.0006027/0.5655, allocations: 0.8319 MB / 1.525 GB, free: 6.781 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 9.572e-05/0.5656, allocations: 19.98 kB / 1.525 GB, free: 6.762 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5656, allocations: 0 / 1.525 GB, free: 6.762 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 3.406e-06/0.5656, allocations: 3.938 kB / 1.525 GB, free: 6.758 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006766/0.5663, allocations: 0.4964 MB / 1.526 GB, free: 6.258 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.5685, allocations: 2.049 MB / 1.528 GB, free: 4.105 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.5689, allocations: 0.7242 MB / 1.529 GB, free: 3.355 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 8.159e-05/0.5689, allocations: 17.48 kB / 1.529 GB, free: 3.336 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/0.569, allocations: 43.42 kB / 1.529 GB, free: 3.293 MB / 1.217 GB Notification: Performance of SimCode: time 4.81e-07/0.569, allocations: 7.938 kB / 1.529 GB, free: 3.285 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.5939, allocations: 4.041 MB / 1.533 GB, free: 15.41 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.03, allocations: 5.938 kB / 1.533 GB, free: 15.4 MB / 1.232 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 18.953528213023674]