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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 102.6 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 200.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.107/3.107, allocations: 497.2 MB / 0.7812 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 66.08 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3239, allocations: 173.9 MB / 1.304 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2584/0.5822, allocations: 166.6 MB / 1.467 GB, free: 10.27 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007452/0.5897, allocations: 5.742 MB / 1.472 GB, free: 4.508 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003291/0.59, allocations: 4 kB / 1.472 GB, free: 4.504 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000509/0.5905, allocations: 99.3 kB / 1.472 GB, free: 4.406 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.5908, allocations: 55.61 kB / 1.472 GB, free: 4.352 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.591, allocations: 35.91 kB / 1.472 GB, free: 4.316 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.5913, allocations: 211.1 kB / 1.473 GB, free: 4.109 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.5916, allocations: 70.62 kB / 1.473 GB, free: 4.039 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.5918, allocations: 103.6 kB / 1.473 GB, free: 3.938 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.592, allocations: 71.69 kB / 1.473 GB, free: 3.867 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.592, allocations: 8 kB / 1.473 GB, free: 3.859 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 2.595e-05/0.592, allocations: 12 kB / 1.473 GB, free: 3.848 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 6.42e-05/0.5921, allocations: 31.86 kB / 1.473 GB, free: 3.816 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.5922, allocations: 79.55 kB / 1.473 GB, free: 3.738 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.5925, allocations: 159.3 kB / 1.473 GB, free: 3.582 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5925, allocations: 0 / 1.473 GB, free: 3.582 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5925, allocations: 0 / 1.473 GB, free: 3.582 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.5925, allocations: 0 / 1.473 GB, free: 3.582 MB / 1.17 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.0007798/0.5933, allocations: 446.6 kB / 1.474 GB, free: 3.098 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.5934, allocations: 8.625 kB / 1.474 GB, free: 3.09 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.403e-05/0.5934, allocations: 50.55 kB / 1.474 GB, free: 3.031 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.5935, allocations: 19.86 kB / 1.474 GB, free: 3.012 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.5939, allocations: 249.8 kB / 1.474 GB, free: 2.73 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.5939, allocations: 12 kB / 1.474 GB, free: 2.719 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.5939, allocations: 12 kB / 1.474 GB, free: 2.707 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.5942, allocations: 169.6 kB / 1.474 GB, free: 2.512 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.5942, allocations: 0 / 1.474 GB, free: 2.512 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.5942, allocations: 8 kB / 1.474 GB, free: 2.504 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.5942, allocations: 4 kB / 1.474 GB, free: 2.5 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.5943, allocations: 67.83 kB / 1.474 GB, free: 2.434 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.5955, allocations: 1.164 MB / 1.475 GB, free: 1.191 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.5956, allocations: 173.1 kB / 1.475 GB, free: 1.012 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.5956, allocations: 88.06 kB / 1.476 GB, free: 0.9219 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.5957, allocations: 79.28 kB / 1.476 GB, free: 0.8438 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.737e-05/0.5957, allocations: 109.8 kB / 1.476 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.5957, allocations: 0 / 1.476 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001003/0.5958, allocations: 45.61 kB / 1.476 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.596, allocations: 178.1 kB / 1.476 GB, free: 488 kB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.5963, allocations: 249 kB / 1.476 GB, free: 232 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.5963, allocations: 33.64 kB / 1.476 GB, free: 192 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.5964, allocations: 131.9 kB / 1.476 GB, free: 56 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-06/0.5964, allocations: 3.938 kB / 1.476 GB, free: 52 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.5965, allocations: 25.7 kB / 1.476 GB, free: 20 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000284/0.5968, allocations: 330.8 kB / 1.477 GB, free: 15.69 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.5968, allocations: 8 kB / 1.477 GB, free: 15.68 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.5969, allocations: 63.72 kB / 1.477 GB, free: 15.59 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.597, allocations: 56.22 kB / 1.477 GB, free: 15.52 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.597, allocations: 0 / 1.477 GB, free: 15.52 MB / 1.186 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002151/0.5973, allocations: 85.41 kB / 1.477 GB, free: 15.43 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.5973, allocations: 8 kB / 1.477 GB, free: 15.42 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5973, allocations: 0 / 1.477 GB, free: 15.42 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5973, allocations: 4.156 kB / 1.477 GB, free: 15.42 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.5974, allocations: 11.98 kB / 1.477 GB, free: 15.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5974, allocations: 4 kB / 1.477 GB, free: 15.4 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.5975, allocations: 11.89 kB / 1.477 GB, free: 15.39 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.5975, allocations: 4 kB / 1.477 GB, free: 15.39 MB / 1.186 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.0001823/0.5977, allocations: 209 kB / 1.477 GB, free: 15.17 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.5978, allocations: 124.8 kB / 1.477 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.204e-05/0.5979, allocations: 121.8 kB / 1.477 GB, free: 14.91 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.404e-05/0.598, allocations: 188.2 kB / 1.478 GB, free: 14.72 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.113e-05/0.5981, allocations: 184.3 kB / 1.478 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.356e-05/0.5982, allocations: 180.2 kB / 1.478 GB, free: 14.35 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004731/0.5986, allocations: 453.1 kB / 1.478 GB, free: 13.85 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.466e-05/0.5987, allocations: 101 kB / 1.478 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.5988, allocations: 113.2 kB / 1.479 GB, free: 13.63 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.724e-05/0.5989, allocations: 184.3 kB / 1.479 GB, free: 13.44 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.599, allocations: 184.2 kB / 1.479 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.089e-05/0.5991, allocations: 180.3 kB / 1.479 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9e-05/0.5992, allocations: 180.2 kB / 1.479 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.5994, allocations: 323.7 kB / 1.48 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.5995, allocations: 197.9 kB / 1.48 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.5996, allocations: 184.2 kB / 1.48 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.5998, allocations: 108.9 kB / 1.48 GB, free: 12.03 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/0.5999, allocations: 180.3 kB / 1.48 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/0.6, allocations: 109 kB / 1.48 GB, free: 11.73 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002232/0.6002, allocations: 184.5 kB / 1.48 GB, free: 11.55 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6002, allocations: 0 / 1.48 GB, free: 11.55 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003132/0.6005, allocations: 27.94 kB / 1.48 GB, free: 11.52 MB / 1.186 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.0006108/0.6011, allocations: 0.8277 MB / 1.481 GB, free: 10.67 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.6012, allocations: 19.92 kB / 1.481 GB, free: 10.65 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.6012, allocations: 0 / 1.481 GB, free: 10.65 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 4.649e-06/0.6012, allocations: 4 kB / 1.481 GB, free: 10.64 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006902/0.6019, allocations: 0.4964 MB / 1.482 GB, free: 10.14 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.6044, allocations: 2.052 MB / 1.484 GB, free: 7.988 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.6048, allocations: 0.7201 MB / 1.485 GB, free: 7.242 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.6049, allocations: 25.56 kB / 1.485 GB, free: 7.219 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.03e-05/0.605, allocations: 39.42 kB / 1.485 GB, free: 7.18 MB / 1.186 GB Notification: Performance of SimCode: time 8.82e-07/0.605, allocations: 0 / 1.485 GB, free: 7.18 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.6347, allocations: 3.894 MB / 1.488 GB, free: 3.398 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.391/9.026, allocations: 19.94 kB / 1.488 GB, free: 3.379 MB / 1.186 GB " [Timeout remaining time 291] (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_2/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: 15.443600941915065]