Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001704/0.001704, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.002105/0.002105, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.89 kB / 1.104 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 168.7 MB / 1.269 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2159/1.308, allocations: 166.6 MB / 1.431 GB, free: 11.6 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007587/1.316, allocations: 5.735 MB / 1.437 GB, free: 6.965 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/1.316, allocations: 9.75 kB / 1.437 GB, free: 6.961 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004596/1.316, allocations: 91.66 kB / 1.437 GB, free: 6.883 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0002932/1.317, allocations: 68.25 kB / 1.437 GB, free: 6.824 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/1.317, allocations: 30.53 kB / 1.437 GB, free: 6.801 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0003716/1.317, allocations: 215.4 kB / 1.437 GB, free: 6.676 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/1.318, allocations: 63.5 kB / 1.438 GB, free: 6.637 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/1.318, allocations: 108.1 kB / 1.438 GB, free: 6.574 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/1.318, allocations: 73.78 kB / 1.438 GB, free: 6.527 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/1.318, allocations: 10.22 kB / 1.438 GB, free: 6.527 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 4.712e-05/1.318, allocations: 10.16 kB / 1.438 GB, free: 6.527 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/1.318, allocations: 31.14 kB / 1.438 GB, free: 6.504 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/1.318, allocations: 71.61 kB / 1.438 GB, free: 6.457 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/1.319, allocations: 160.5 kB / 1.438 GB, free: 6.344 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.319, allocations: 0 / 1.438 GB, free: 6.344 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.342e-06/1.319, allocations: 0 / 1.438 GB, free: 6.344 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.319, allocations: 1 kB / 1.438 GB, free: 6.344 MB / 1.123 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.000729/1.319, allocations: 451.9 kB / 1.438 GB, free: 5.898 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/1.319, allocations: 10.09 kB / 1.438 GB, free: 5.898 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.334e-05/1.319, allocations: 49.64 kB / 1.438 GB, free: 5.844 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/1.319, allocations: 18.03 kB / 1.438 GB, free: 5.836 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/1.32, allocations: 250.8 kB / 1.439 GB, free: 5.582 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/1.32, allocations: 13.22 kB / 1.439 GB, free: 5.574 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/1.32, allocations: 11.34 kB / 1.439 GB, free: 5.57 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/1.32, allocations: 171 kB / 1.439 GB, free: 5.418 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/1.32, allocations: 1.062 kB / 1.439 GB, free: 5.418 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/1.32, allocations: 10.41 kB / 1.439 GB, free: 5.41 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/1.32, allocations: 3.531 kB / 1.439 GB, free: 5.41 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/1.32, allocations: 69.53 kB / 1.439 GB, free: 5.375 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/1.321, allocations: 1.15 MB / 1.44 GB, free: 4.223 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 9.494e-05/1.321, allocations: 166.9 kB / 1.44 GB, free: 4.051 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/1.321, allocations: 88.08 kB / 1.44 GB, free: 3.961 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/1.322, allocations: 80.66 kB / 1.44 GB, free: 3.883 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.18e-05/1.322, allocations: 107.4 kB / 1.441 GB, free: 3.77 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/1.322, allocations: 0 / 1.441 GB, free: 3.77 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 0.000112/1.322, allocations: 54.12 kB / 1.441 GB, free: 3.719 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.322, allocations: 178.1 kB / 1.441 GB, free: 3.52 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/1.322, allocations: 250.2 kB / 1.441 GB, free: 3.348 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/1.322, allocations: 27.08 kB / 1.441 GB, free: 3.316 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/1.322, allocations: 129.7 kB / 1.441 GB, free: 3.195 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.23e-06/1.322, allocations: 3.984 kB / 1.441 GB, free: 3.191 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/1.322, allocations: 24.55 kB / 1.441 GB, free: 3.168 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.322, allocations: 327 kB / 1.441 GB, free: 2.844 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.344e-05/1.322, allocations: 8.125 kB / 1.441 GB, free: 2.84 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.847e-05/1.323, allocations: 72.03 kB / 1.442 GB, free: 2.754 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.822e-05/1.323, allocations: 51.22 kB / 1.442 GB, free: 2.699 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.323, allocations: 0 / 1.442 GB, free: 2.699 MB / 1.123 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001774/1.323, allocations: 91.66 kB / 1.442 GB, free: 2.633 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/1.323, allocations: 5.5 kB / 1.442 GB, free: 2.633 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.323, allocations: 5.359 kB / 1.442 GB, free: 2.629 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/1.323, allocations: 1.375 kB / 1.442 GB, free: 2.629 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/1.323, allocations: 12.19 kB / 1.442 GB, free: 2.625 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/1.323, allocations: 1.375 kB / 1.442 GB, free: 2.625 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/1.323, allocations: 13.39 kB / 1.442 GB, free: 2.617 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/1.323, allocations: 2.75 kB / 1.442 GB, free: 2.617 MB / 1.123 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.000148/1.323, allocations: 212.2 kB / 1.442 GB, free: 2.41 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/1.323, allocations: 125 kB / 1.442 GB, free: 2.289 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.698e-05/1.323, allocations: 119.3 kB / 1.442 GB, free: 2.168 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-05/1.323, allocations: 181.6 kB / 1.442 GB, free: 1.984 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.234e-05/1.323, allocations: 181.6 kB / 1.442 GB, free: 1.801 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-05/1.324, allocations: 189.7 kB / 1.443 GB, free: 1.609 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/1.324, allocations: 452.3 kB / 1.443 GB, free: 1.129 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.531e-05/1.324, allocations: 102.4 kB / 1.443 GB, free: 1.023 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.005e-05/1.324, allocations: 109.1 kB / 1.443 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.528e-05/1.324, allocations: 181.6 kB / 1.443 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-05/1.324, allocations: 177.6 kB / 1.444 GB, free: 0.5469 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.073e-05/1.324, allocations: 188.4 kB / 1.444 GB, free: 364 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.521e-05/1.324, allocations: 177.7 kB / 1.444 GB, free: 180 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/1.325, allocations: 326.6 kB / 1.444 GB, free: 15.84 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/1.325, allocations: 198.1 kB / 1.445 GB, free: 15.63 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/1.325, allocations: 190.9 kB / 1.445 GB, free: 15.44 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/1.325, allocations: 106.3 kB / 1.445 GB, free: 15.33 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/1.325, allocations: 180.3 kB / 1.445 GB, free: 15.14 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/1.325, allocations: 106.3 kB / 1.445 GB, free: 15.04 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001923/1.325, allocations: 183.5 kB / 1.445 GB, free: 14.91 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.325, allocations: 0 / 1.445 GB, free: 14.91 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002694/1.325, allocations: 23.25 kB / 1.445 GB, free: 14.91 MB / 1.139 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.0005212/1.326, allocations: 0.8282 MB / 1.446 GB, free: 14.07 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001002/1.326, allocations: 16.31 kB / 1.446 GB, free: 14.07 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/1.326, allocations: 4 kB / 1.446 GB, free: 14.07 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 5.851e-06/1.326, allocations: 8.25 kB / 1.446 GB, free: 14.06 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/1.327, allocations: 0.5047 MB / 1.447 GB, free: 13.58 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/1.329, allocations: 2.053 MB / 1.449 GB, free: 11.84 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/1.329, allocations: 0.715 MB / 1.449 GB, free: 11.13 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 9.705e-05/1.33, allocations: 25.62 kB / 1.449 GB, free: 11.12 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.453e-05/1.33, allocations: 42.55 kB / 1.449 GB, free: 11.08 MB / 1.139 GB Notification: Performance of SimCode: time 8.22e-07/1.33, allocations: 1.312 kB / 1.449 GB, free: 11.08 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/1.358, allocations: 3.905 MB / 1.453 GB, free: 7.824 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.329/9.688, allocations: 1.562 kB / 1.453 GB, free: 7.824 MB / 1.139 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.807576645631343]