Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001678/0.001678, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002034/0.002034, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.485/1.485, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.928/2.928, allocations: 0.49 GB / 0.7923 GB, free: 1.363 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_12_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.002195/0.002195, allocations: 71.89 kB / 1.15 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.004, allocations: 176.1 MB / 1.321 GB, free: 7.785 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2223/1.226, allocations: 169.5 MB / 1.487 GB, free: 12.16 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006699/1.233, allocations: 5.75 MB / 1.493 GB, free: 6.395 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/1.233, allocations: 11.88 kB / 1.493 GB, free: 6.383 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004344/1.233, allocations: 91.36 kB / 1.493 GB, free: 6.293 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002119/1.233, allocations: 59.55 kB / 1.493 GB, free: 6.234 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.000127/1.234, allocations: 35.95 kB / 1.493 GB, free: 6.199 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003275/1.234, allocations: 207.2 kB / 1.493 GB, free: 5.996 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/1.234, allocations: 74.56 kB / 1.493 GB, free: 5.922 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/1.234, allocations: 107.6 kB / 1.493 GB, free: 5.816 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/1.234, allocations: 75.56 kB / 1.493 GB, free: 5.742 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/1.235, allocations: 12 kB / 1.493 GB, free: 5.73 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 2.144e-05/1.235, allocations: 8 kB / 1.493 GB, free: 5.723 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/1.235, allocations: 31.86 kB / 1.493 GB, free: 5.691 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 8.221e-05/1.235, allocations: 67.67 kB / 1.493 GB, free: 5.625 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/1.235, allocations: 159.3 kB / 1.494 GB, free: 5.469 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.235, allocations: 8 kB / 1.494 GB, free: 5.461 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.613e-06/1.235, allocations: 0 / 1.494 GB, free: 5.461 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.673e-06/1.235, allocations: 3.938 kB / 1.494 GB, free: 5.457 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.0007045/1.236, allocations: 446.5 kB / 1.494 GB, free: 4.973 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.236, allocations: 15.98 kB / 1.494 GB, free: 4.957 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.616e-05/1.236, allocations: 0 / 1.494 GB, free: 4.957 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/1.236, allocations: 46.55 kB / 1.494 GB, free: 4.902 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/1.236, allocations: 23.84 kB / 1.494 GB, free: 4.879 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/1.236, allocations: 258.7 kB / 1.494 GB, free: 4.586 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/1.236, allocations: 4 kB / 1.494 GB, free: 4.582 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/1.236, allocations: 12 kB / 1.494 GB, free: 4.57 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/1.236, allocations: 165.2 kB / 1.494 GB, free: 4.379 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/1.237, allocations: 4 kB / 1.494 GB, free: 4.375 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/1.237, allocations: 7.984 kB / 1.494 GB, free: 4.367 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/1.237, allocations: 4 kB / 1.494 GB, free: 4.363 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/1.237, allocations: 79.77 kB / 1.495 GB, free: 4.285 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/1.238, allocations: 1.145 MB / 1.496 GB, free: 3.062 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/1.238, allocations: 177.1 kB / 1.496 GB, free: 2.879 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/1.238, allocations: 80.14 kB / 1.496 GB, free: 2.797 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/1.238, allocations: 79.22 kB / 1.496 GB, free: 2.719 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/1.238, allocations: 109.8 kB / 1.496 GB, free: 2.602 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.238, allocations: 0 / 1.496 GB, free: 2.602 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001001/1.238, allocations: 49.55 kB / 1.496 GB, free: 2.547 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.827e-05/1.238, allocations: 178.1 kB / 1.496 GB, free: 2.348 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/1.238, allocations: 253 kB / 1.497 GB, free: 2.094 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/1.238, allocations: 25.7 kB / 1.497 GB, free: 2.062 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/1.239, allocations: 136 kB / 1.497 GB, free: 1.926 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-06/1.239, allocations: 0 / 1.497 GB, free: 1.926 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/1.239, allocations: 21.72 kB / 1.497 GB, free: 1.898 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.239, allocations: 326.8 kB / 1.497 GB, free: 1.57 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/1.239, allocations: 11.98 kB / 1.497 GB, free: 1.559 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.042e-05/1.239, allocations: 63.72 kB / 1.497 GB, free: 1.469 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.413e-05/1.239, allocations: 56.3 kB / 1.497 GB, free: 1.398 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.239, allocations: 4 kB / 1.497 GB, free: 1.395 MB / 1.17 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000181/1.239, allocations: 89.39 kB / 1.497 GB, free: 1.301 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.239, allocations: 8 kB / 1.497 GB, free: 1.293 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/1.239, allocations: 0 / 1.497 GB, free: 1.293 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.239, allocations: 8.156 kB / 1.497 GB, free: 1.285 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/1.239, allocations: 7.938 kB / 1.497 GB, free: 1.277 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/1.239, allocations: 4 kB / 1.497 GB, free: 1.273 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.868e-05/1.239, allocations: 19.78 kB / 1.497 GB, free: 1.254 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/1.239, allocations: 4 kB / 1.497 GB, free: 1.25 MB / 1.17 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.0001516/1.24, allocations: 209 kB / 1.498 GB, free: 1.035 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/1.24, allocations: 124.9 kB / 1.498 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.013e-05/1.24, allocations: 125.8 kB / 1.498 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.683e-05/1.24, allocations: 176.3 kB / 1.498 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.054e-05/1.24, allocations: 192.2 kB / 1.498 GB, free: 412 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.382e-05/1.24, allocations: 176.3 kB / 1.498 GB, free: 228 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/1.24, allocations: 449.1 kB / 1.499 GB, free: 15.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.825e-05/1.24, allocations: 108.9 kB / 1.499 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/1.24, allocations: 105 kB / 1.499 GB, free: 15.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.243e-05/1.241, allocations: 188.2 kB / 1.499 GB, free: 15.31 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.228e-05/1.241, allocations: 176.3 kB / 1.499 GB, free: 15.13 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.291e-05/1.241, allocations: 176.3 kB / 1.499 GB, free: 14.95 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.383e-05/1.241, allocations: 180.2 kB / 1.5 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/1.241, allocations: 331.6 kB / 1.5 GB, free: 14.42 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/1.241, allocations: 194 kB / 1.5 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/1.241, allocations: 184.2 kB / 1.5 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/1.241, allocations: 109 kB / 1.5 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/1.241, allocations: 176.3 kB / 1.501 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/1.241, allocations: 116.9 kB / 1.501 GB, free: 13.61 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002131/1.242, allocations: 184.5 kB / 1.501 GB, free: 13.43 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.242, allocations: 0 / 1.501 GB, free: 13.43 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002616/1.242, allocations: 20 kB / 1.501 GB, free: 13.41 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.0005607/1.242, allocations: 0.8242 MB / 1.502 GB, free: 12.55 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001191/1.243, allocations: 19.94 kB / 1.502 GB, free: 12.53 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.243, allocations: 0 / 1.502 GB, free: 12.53 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/1.243, allocations: 0 / 1.502 GB, free: 12.53 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007972/1.243, allocations: 0.514 MB / 1.502 GB, free: 12.02 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/1.246, allocations: 2.042 MB / 1.504 GB, free: 9.867 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/1.246, allocations: 0.728 MB / 1.505 GB, free: 9.113 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 9.771e-05/1.246, allocations: 17.55 kB / 1.505 GB, free: 9.098 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/1.246, allocations: 43.42 kB / 1.505 GB, free: 9.059 MB / 1.186 GB Notification: Performance of SimCode: time 5.71e-07/1.246, allocations: 0 / 1.505 GB, free: 9.059 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/1.268, allocations: 3.931 MB / 1.509 GB, free: 5.25 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.695/9.963, allocations: 10.45 kB / 1.509 GB, free: 5.242 MB / 1.186 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.305165347992443]