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.001266/0.001266, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001996/0.001996, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.977 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 3.112/3.112, allocations: 0.49 GB / 0.7959 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] 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.00196/0.00196, allocations: 61.31 kB / 1.155 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3871, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2073/0.5944, allocations: 169.7 MB / 1.492 GB, free: 7.59 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007303/0.6017, allocations: 5.805 MB / 1.498 GB, free: 1.766 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002748/0.602, allocations: 7.938 kB / 1.498 GB, free: 1.758 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004851/0.6025, allocations: 91.31 kB / 1.498 GB, free: 1.668 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.6028, allocations: 59.61 kB / 1.498 GB, free: 1.609 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.603, allocations: 39.89 kB / 1.498 GB, free: 1.57 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004082/0.6034, allocations: 215.1 kB / 1.498 GB, free: 1.359 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.6036, allocations: 66.84 kB / 1.499 GB, free: 1.293 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.6039, allocations: 99.64 kB / 1.499 GB, free: 1.195 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.6041, allocations: 75.56 kB / 1.499 GB, free: 1.121 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.6041, allocations: 12 kB / 1.499 GB, free: 1.109 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 2.74e-05/0.6041, allocations: 8 kB / 1.499 GB, free: 1.102 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.6042, allocations: 31.86 kB / 1.499 GB, free: 1.07 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 8.967e-05/0.6043, allocations: 67.67 kB / 1.499 GB, free: 1.004 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.6045, allocations: 167.2 kB / 1.499 GB, free: 0.8398 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6045, allocations: 0 / 1.499 GB, free: 0.8398 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6045, allocations: 4 kB / 1.499 GB, free: 0.8359 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.6046, allocations: 0 / 1.499 GB, free: 0.8359 MB / 1.186 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.0006429/0.6052, allocations: 373.4 kB / 1.499 GB, free: 452 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.6052, allocations: 8.031 kB / 1.499 GB, free: 444 kB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.766e-05/0.6053, allocations: 4 kB / 1.499 GB, free: 440 kB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.266e-05/0.6053, allocations: 46.55 kB / 1.499 GB, free: 384 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.6054, allocations: 19.84 kB / 1.499 GB, free: 364 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.6057, allocations: 196.8 kB / 1.5 GB, free: 140 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.6057, allocations: 4 kB / 1.5 GB, free: 136 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.6057, allocations: 12 kB / 1.5 GB, free: 124 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.606, allocations: 177.3 kB / 1.5 GB, free: 15.92 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.606, allocations: 0 / 1.5 GB, free: 15.92 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.606, allocations: 8 kB / 1.5 GB, free: 15.91 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.606, allocations: 4 kB / 1.5 GB, free: 15.91 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.6062, allocations: 71.78 kB / 1.5 GB, free: 15.84 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009997/0.6072, allocations: 1.105 MB / 1.501 GB, free: 14.66 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.6073, allocations: 181.1 kB / 1.501 GB, free: 14.47 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.646e-05/0.6073, allocations: 80.14 kB / 1.501 GB, free: 14.39 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.6073, allocations: 79.31 kB / 1.501 GB, free: 14.31 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/0.6074, allocations: 109.8 kB / 1.501 GB, free: 14.2 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.6074, allocations: 0 / 1.501 GB, free: 14.2 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 9.717e-05/0.6075, allocations: 45.59 kB / 1.501 GB, free: 14.14 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.686e-05/0.6076, allocations: 186.1 kB / 1.502 GB, free: 13.94 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.6079, allocations: 245 kB / 1.502 GB, free: 13.68 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.6079, allocations: 25.7 kB / 1.502 GB, free: 13.65 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.608, allocations: 139.9 kB / 1.502 GB, free: 13.51 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.143e-06/0.608, allocations: 8 kB / 1.502 GB, free: 13.5 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.6081, allocations: 17.72 kB / 1.502 GB, free: 13.48 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6082, allocations: 326.8 kB / 1.502 GB, free: 13.15 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.6082, allocations: 15.94 kB / 1.502 GB, free: 13.14 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.6083, allocations: 71.59 kB / 1.502 GB, free: 13.04 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.838e-05/0.6084, allocations: 56.22 kB / 1.502 GB, free: 12.97 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6084, allocations: 0 / 1.502 GB, free: 12.97 MB / 1.201 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001725/0.6085, allocations: 89.41 kB / 1.503 GB, free: 12.88 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.6085, allocations: 4 kB / 1.503 GB, free: 12.87 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.6086, allocations: 0 / 1.503 GB, free: 12.87 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.6086, allocations: 4 kB / 1.503 GB, free: 12.87 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.926e-05/0.6086, allocations: 12.16 kB / 1.503 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.6086, allocations: 0 / 1.503 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.971e-05/0.6087, allocations: 23.83 kB / 1.503 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.6087, allocations: 0 / 1.503 GB, free: 12.83 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.0001425/0.6089, allocations: 209.6 kB / 1.503 GB, free: 12.62 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.223e-05/0.6089, allocations: 124.8 kB / 1.503 GB, free: 12.49 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.609, allocations: 121.8 kB / 1.503 GB, free: 12.36 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.208e-05/0.6091, allocations: 184.2 kB / 1.503 GB, free: 12.18 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.984e-05/0.6092, allocations: 180.2 kB / 1.503 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.262e-05/0.6092, allocations: 176.3 kB / 1.504 GB, free: 11.81 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.6096, allocations: 432.2 kB / 1.504 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.403e-05/0.6096, allocations: 105 kB / 1.504 GB, free: 11.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.6097, allocations: 104.9 kB / 1.504 GB, free: 11.12 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.686e-05/0.6097, allocations: 184.3 kB / 1.504 GB, free: 10.93 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.219e-05/0.6098, allocations: 176.3 kB / 1.504 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.301e-05/0.6099, allocations: 188.2 kB / 1.505 GB, free: 10.56 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.156e-05/0.61, allocations: 180.3 kB / 1.505 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.6101, allocations: 327.6 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-05/0.6102, allocations: 116.9 kB / 1.505 GB, free: 9.914 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.6103, allocations: 184.2 kB / 1.505 GB, free: 9.727 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.6104, allocations: 105 kB / 1.506 GB, free: 9.617 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-05/0.6105, allocations: 180.2 kB / 1.506 GB, free: 9.434 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.6106, allocations: 109 kB / 1.506 GB, free: 9.32 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001827/0.6107, allocations: 184.5 kB / 1.506 GB, free: 9.145 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6107, allocations: 0 / 1.506 GB, free: 9.145 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002489/0.611, allocations: 20 kB / 1.506 GB, free: 9.125 MB / 1.201 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.0004469/0.6114, allocations: 0.8203 MB / 1.507 GB, free: 8.273 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 9.429e-05/0.6115, allocations: 23.98 kB / 1.507 GB, free: 8.25 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6115, allocations: 7.875 kB / 1.507 GB, free: 8.242 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.6115, allocations: 0 / 1.507 GB, free: 8.242 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.6122, allocations: 0.5018 MB / 1.507 GB, free: 7.738 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.6143, allocations: 2.045 MB / 1.509 GB, free: 5.59 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.6147, allocations: 0.7203 MB / 1.51 GB, free: 4.844 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 8.181e-05/0.6148, allocations: 17.67 kB / 1.51 GB, free: 4.824 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.6148, allocations: 43.42 kB / 1.51 GB, free: 4.785 MB / 1.201 GB Notification: Performance of SimCode: time 4.51e-07/0.6148, allocations: 3.938 kB / 1.51 GB, free: 4.781 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.6405, allocations: 4.048 MB / 1.514 GB, free: 0.9102 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.37, allocations: 8.047 kB / 1.514 GB, free: 0.9023 MB / 1.201 GB " [Timeout remaining time 287] (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: 19.04599013796542]