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.001698/0.001698, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001491/0.001491, allocations: 222.8 kB / 22.25 MB, free: 5.109 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 7.805 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.201/3.201, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.00213/0.00213, allocations: 72.69 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4077, allocations: 181.9 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1938/0.6015, allocations: 146.5 MB / 1.506 GB, free: 11.05 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006088/0.6076, allocations: 5.171 MB / 1.512 GB, free: 5.867 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.6078, allocations: 7.938 kB / 1.512 GB, free: 5.859 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004273/0.6082, allocations: 95.31 kB / 1.512 GB, free: 5.766 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.6084, allocations: 67.48 kB / 1.512 GB, free: 5.699 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.6086, allocations: 43.88 kB / 1.512 GB, free: 5.656 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.6089, allocations: 211.1 kB / 1.512 GB, free: 5.449 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.6091, allocations: 61.05 kB / 1.512 GB, free: 5.395 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.6093, allocations: 95.64 kB / 1.512 GB, free: 5.301 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.6095, allocations: 75.56 kB / 1.512 GB, free: 5.227 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.6095, allocations: 8 kB / 1.512 GB, free: 5.219 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 2.852e-05/0.6095, allocations: 16 kB / 1.512 GB, free: 5.203 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.6096, allocations: 31.86 kB / 1.512 GB, free: 5.172 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 7.237e-05/0.6096, allocations: 59.72 kB / 1.512 GB, free: 5.113 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.6099, allocations: 159.3 kB / 1.512 GB, free: 4.957 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.6099, allocations: 0 / 1.512 GB, free: 4.957 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6099, allocations: 4 kB / 1.512 GB, free: 4.953 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.6099, allocations: 0 / 1.512 GB, free: 4.953 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.0006217/0.6105, allocations: 365.7 kB / 1.513 GB, free: 4.566 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.6106, allocations: 12.03 kB / 1.513 GB, free: 4.555 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.272e-05/0.6106, allocations: 46.55 kB / 1.513 GB, free: 4.5 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.6106, allocations: 19.91 kB / 1.513 GB, free: 4.48 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.611, allocations: 192.8 kB / 1.513 GB, free: 4.266 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.611, allocations: 8.234 kB / 1.513 GB, free: 4.258 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.611, allocations: 11.94 kB / 1.513 GB, free: 4.246 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.6113, allocations: 224.1 kB / 1.513 GB, free: 3.984 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.6114, allocations: 7.938 kB / 1.513 GB, free: 3.977 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.6114, allocations: 8 kB / 1.513 GB, free: 3.969 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.6114, allocations: 4 kB / 1.513 GB, free: 3.965 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.6115, allocations: 63.91 kB / 1.513 GB, free: 3.902 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009965/0.6125, allocations: 1.093 MB / 1.514 GB, free: 2.738 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.6126, allocations: 177 kB / 1.515 GB, free: 2.555 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.6127, allocations: 84.08 kB / 1.515 GB, free: 2.469 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.6127, allocations: 79.28 kB / 1.515 GB, free: 2.391 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.76e-05/0.6128, allocations: 105.8 kB / 1.515 GB, free: 2.277 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.6128, allocations: 0 / 1.515 GB, free: 2.277 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 9.523e-05/0.6129, allocations: 61.52 kB / 1.515 GB, free: 2.211 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.811e-05/0.613, allocations: 182.1 kB / 1.515 GB, free: 2.008 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.6132, allocations: 248.9 kB / 1.515 GB, free: 1.754 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.6133, allocations: 29.7 kB / 1.515 GB, free: 1.719 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.6134, allocations: 132 kB / 1.515 GB, free: 1.586 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.6134, allocations: 0 / 1.515 GB, free: 1.586 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.6134, allocations: 21.72 kB / 1.515 GB, free: 1.559 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.6136, allocations: 326.8 kB / 1.516 GB, free: 1.23 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.537e-05/0.6136, allocations: 11.98 kB / 1.516 GB, free: 1.219 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.6137, allocations: 170.5 kB / 1.516 GB, free: 1 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.36e-05/0.6138, allocations: 52.23 kB / 1.516 GB, free: 0.9336 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.6138, allocations: 7.984 kB / 1.516 GB, free: 0.9258 MB / 1.201 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001678/0.614, allocations: 85.41 kB / 1.516 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.614, allocations: 8 kB / 1.516 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.614, allocations: 128 / 1.516 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.614, allocations: 0 / 1.516 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.612e-05/0.6141, allocations: 16.16 kB / 1.516 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.6141, allocations: 7.938 kB / 1.516 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.003e-05/0.6142, allocations: 15.88 kB / 1.516 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.6142, allocations: 4 kB / 1.516 GB, free: 0.7852 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.000143/0.6143, allocations: 201.1 kB / 1.516 GB, free: 0.5781 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/0.6144, allocations: 128.8 kB / 1.516 GB, free: 456 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.226e-05/0.6145, allocations: 129.6 kB / 1.517 GB, free: 320 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.812e-05/0.6146, allocations: 184.2 kB / 1.517 GB, free: 128 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001025/0.6147, allocations: 180.3 kB / 1.517 GB, free: 15.94 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.726e-05/0.6148, allocations: 184.2 kB / 1.517 GB, free: 15.75 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.6151, allocations: 420.2 kB / 1.518 GB, free: 15.29 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.663e-05/0.6151, allocations: 108.9 kB / 1.518 GB, free: 15.18 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/0.6152, allocations: 105 kB / 1.518 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.324e-05/0.6153, allocations: 180.2 kB / 1.518 GB, free: 14.89 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.78e-05/0.6153, allocations: 180.3 kB / 1.518 GB, free: 14.7 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.326e-05/0.6154, allocations: 180.2 kB / 1.518 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.7e-05/0.6155, allocations: 180.2 kB / 1.518 GB, free: 14.34 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.6157, allocations: 331.6 kB / 1.519 GB, free: 13.99 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.6158, allocations: 120.9 kB / 1.519 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.697e-05/0.6158, allocations: 180.2 kB / 1.519 GB, free: 13.68 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.616, allocations: 108.9 kB / 1.519 GB, free: 13.57 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.616, allocations: 180.3 kB / 1.519 GB, free: 13.38 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.6161, allocations: 104.9 kB / 1.519 GB, free: 13.27 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001859/0.6163, allocations: 188.5 kB / 1.52 GB, free: 13.09 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6163, allocations: 0 / 1.52 GB, free: 13.09 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000255/0.6165, allocations: 20 kB / 1.52 GB, free: 13.07 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.0004761/0.617, allocations: 0.8203 MB / 1.52 GB, free: 12.22 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 9.861e-05/0.6171, allocations: 15.94 kB / 1.52 GB, free: 12.2 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6171, allocations: 4.312 kB / 1.52 GB, free: 12.2 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.6171, allocations: 4 kB / 1.52 GB, free: 12.2 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006521/0.6178, allocations: 0.5039 MB / 1.521 GB, free: 11.69 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.6199, allocations: 2.054 MB / 1.523 GB, free: 9.535 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.62, allocations: 106.2 kB / 1.523 GB, free: 9.406 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 8.063e-05/0.6201, allocations: 25.66 kB / 1.523 GB, free: 9.379 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.6202, allocations: 39.42 kB / 1.523 GB, free: 9.34 MB / 1.217 GB Notification: Performance of SimCode: time 3.1e-07/0.6202, allocations: 3.938 kB / 1.523 GB, free: 9.336 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.656, allocations: 4.66 MB / 1.528 GB, free: 4.852 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.96, allocations: 10.81 kB / 1.528 GB, free: 4.844 MB / 1.217 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.72916709491983]