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.00134/0.00134, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00161/0.00161, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.953 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.355/3.355, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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="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: 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.001979/0.001979, allocations: 65.3 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3902, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2039/0.5941, allocations: 169.7 MB / 1.519 GB, free: 14.09 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.006453/0.6005, allocations: 5.789 MB / 1.524 GB, free: 8.277 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.6007, allocations: 11.88 kB / 1.524 GB, free: 8.266 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0003974/0.6011, allocations: 87.38 kB / 1.524 GB, free: 8.18 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.6013, allocations: 67.53 kB / 1.524 GB, free: 8.113 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.6015, allocations: 39.89 kB / 1.524 GB, free: 8.074 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.6018, allocations: 211.1 kB / 1.525 GB, free: 7.867 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.602, allocations: 62.86 kB / 1.525 GB, free: 7.801 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.6023, allocations: 107.6 kB / 1.525 GB, free: 7.695 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.6024, allocations: 79.56 kB / 1.525 GB, free: 7.617 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.6024, allocations: 8 kB / 1.525 GB, free: 7.609 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 2.297e-05/0.6025, allocations: 12 kB / 1.525 GB, free: 7.598 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.6025, allocations: 31.86 kB / 1.525 GB, free: 7.566 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 8.088e-05/0.6026, allocations: 67.67 kB / 1.525 GB, free: 7.5 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.6028, allocations: 159.3 kB / 1.525 GB, free: 7.344 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6028, allocations: 3.938 kB / 1.525 GB, free: 7.34 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6028, allocations: 0 / 1.525 GB, free: 7.34 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.6029, allocations: 0 / 1.525 GB, free: 7.34 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.0006537/0.6035, allocations: 373.5 kB / 1.526 GB, free: 6.945 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.6036, allocations: 11.97 kB / 1.526 GB, free: 6.934 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.6036, allocations: 46.55 kB / 1.526 GB, free: 6.879 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.6037, allocations: 19.91 kB / 1.526 GB, free: 6.859 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.604, allocations: 193.8 kB / 1.526 GB, free: 6.645 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.604, allocations: 11.94 kB / 1.526 GB, free: 6.633 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.604, allocations: 12 kB / 1.526 GB, free: 6.621 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.6043, allocations: 161.6 kB / 1.526 GB, free: 6.434 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.6043, allocations: 4 kB / 1.526 GB, free: 6.43 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.6043, allocations: 8 kB / 1.526 GB, free: 6.422 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6043, allocations: 4 kB / 1.526 GB, free: 6.418 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.6044, allocations: 71.83 kB / 1.526 GB, free: 6.348 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000965/0.6054, allocations: 1.109 MB / 1.527 GB, free: 5.168 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.6055, allocations: 173.1 kB / 1.527 GB, free: 4.988 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.042e-05/0.6055, allocations: 84.08 kB / 1.527 GB, free: 4.902 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.6056, allocations: 79.31 kB / 1.527 GB, free: 4.824 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/0.6056, allocations: 109.8 kB / 1.528 GB, free: 4.707 MB / 1.217 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.6056, allocations: 0 / 1.528 GB, free: 4.707 MB / 1.217 GB Notification: Performance of matching and sorting (n=0): time 8.688e-05/0.6057, allocations: 45.55 kB / 1.528 GB, free: 4.656 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.888e-05/0.6058, allocations: 182.1 kB / 1.528 GB, free: 4.453 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.6061, allocations: 252.9 kB / 1.528 GB, free: 4.199 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.6061, allocations: 29.7 kB / 1.528 GB, free: 4.164 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.6062, allocations: 132 kB / 1.528 GB, free: 4.031 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-06/0.6062, allocations: 12 kB / 1.528 GB, free: 4.02 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.6063, allocations: 17.72 kB / 1.528 GB, free: 3.996 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6064, allocations: 322.8 kB / 1.528 GB, free: 3.672 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.6065, allocations: 11.98 kB / 1.528 GB, free: 3.66 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-05/0.6065, allocations: 67.72 kB / 1.529 GB, free: 3.566 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.603e-05/0.6066, allocations: 52.17 kB / 1.529 GB, free: 3.5 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.6066, allocations: 4 kB / 1.529 GB, free: 3.496 MB / 1.217 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001728/0.6068, allocations: 97.34 kB / 1.529 GB, free: 3.395 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.6068, allocations: 4 kB / 1.529 GB, free: 3.391 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6068, allocations: 4 kB / 1.529 GB, free: 3.387 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.6068, allocations: 0 / 1.529 GB, free: 3.387 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.6069, allocations: 11.94 kB / 1.529 GB, free: 3.375 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.6069, allocations: 0 / 1.529 GB, free: 3.375 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.337e-05/0.6069, allocations: 19.83 kB / 1.529 GB, free: 3.355 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.6069, allocations: 160 / 1.529 GB, free: 3.355 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.0001483/0.6071, allocations: 217 kB / 1.529 GB, free: 3.133 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.6072, allocations: 128.8 kB / 1.529 GB, free: 3 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.866e-05/0.6073, allocations: 125.5 kB / 1.529 GB, free: 2.871 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.678e-05/0.6073, allocations: 180.3 kB / 1.529 GB, free: 2.688 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-05/0.6074, allocations: 184.2 kB / 1.53 GB, free: 2.5 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.427e-05/0.6075, allocations: 184.2 kB / 1.53 GB, free: 2.312 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.6078, allocations: 420.2 kB / 1.53 GB, free: 1.852 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.282e-05/0.6078, allocations: 109 kB / 1.53 GB, free: 1.738 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.546e-05/0.6079, allocations: 109 kB / 1.53 GB, free: 1.625 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.868e-05/0.608, allocations: 180.2 kB / 1.531 GB, free: 1.441 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.182e-05/0.6081, allocations: 184.3 kB / 1.531 GB, free: 1.254 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.427e-05/0.6081, allocations: 180.3 kB / 1.531 GB, free: 1.07 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.792e-05/0.6082, allocations: 184.2 kB / 1.531 GB, free: 0.8828 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.6084, allocations: 327.6 kB / 1.531 GB, free: 0.5391 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/0.6085, allocations: 112.9 kB / 1.531 GB, free: 432 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.6086, allocations: 184.2 kB / 1.532 GB, free: 240 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.6087, allocations: 112.9 kB / 1.532 GB, free: 120 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-05/0.6088, allocations: 176.3 kB / 1.532 GB, free: 15.94 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.6088, allocations: 104.9 kB / 1.532 GB, free: 15.83 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0001883/0.609, allocations: 188.5 kB / 1.532 GB, free: 15.64 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.609, allocations: 0 / 1.532 GB, free: 15.64 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000244/0.6093, allocations: 20 kB / 1.532 GB, free: 15.62 MB / 1.232 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.000471/0.6097, allocations: 0.8242 MB / 1.533 GB, free: 14.77 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.6098, allocations: 19.94 kB / 1.533 GB, free: 14.75 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6098, allocations: 320 / 1.533 GB, free: 14.75 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.6098, allocations: 4 kB / 1.533 GB, free: 14.74 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.6105, allocations: 0.5038 MB / 1.534 GB, free: 14.23 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.6126, allocations: 2.041 MB / 1.536 GB, free: 12.09 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.613, allocations: 0.7203 MB / 1.536 GB, free: 11.34 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 8.068e-05/0.6131, allocations: 25.47 kB / 1.536 GB, free: 11.32 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.442e-05/0.6131, allocations: 43.61 kB / 1.536 GB, free: 11.28 MB / 1.232 GB Notification: Performance of SimCode: time 6.41e-07/0.6131, allocations: 0 / 1.536 GB, free: 11.28 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.644, allocations: 4.024 MB / 1.54 GB, free: 7.398 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.04, allocations: 5.938 kB / 1.54 GB, free: 7.395 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.97013156209141]