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.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.001275/0.001275, 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.001464/0.001464, allocations: 218.2 kB / 23.04 MB, free: 5.07 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_11_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.002079/0.002079, allocations: 65.16 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.375, allocations: 169.9 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2214/0.5964, allocations: 169.7 MB / 1.45 GB, free: 1.414 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006841/0.6032, allocations: 5.797 MB / 1.456 GB, free: 11.6 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.6035, allocations: 11.88 kB / 1.456 GB, free: 11.59 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.604, allocations: 99.25 kB / 1.456 GB, free: 11.49 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.6043, allocations: 59.61 kB / 1.456 GB, free: 11.43 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.6044, allocations: 35.95 kB / 1.456 GB, free: 11.39 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.6048, allocations: 211.1 kB / 1.456 GB, free: 11.19 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.605, allocations: 54.88 kB / 1.456 GB, free: 11.13 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.6052, allocations: 107.6 kB / 1.456 GB, free: 11.02 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.6054, allocations: 75.62 kB / 1.456 GB, free: 10.95 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.6054, allocations: 8 kB / 1.456 GB, free: 10.94 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 2.468e-05/0.6054, allocations: 16 kB / 1.456 GB, free: 10.93 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.6055, allocations: 31.86 kB / 1.456 GB, free: 10.89 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 9.814e-05/0.6056, allocations: 71.61 kB / 1.456 GB, free: 10.82 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.6058, allocations: 163.2 kB / 1.456 GB, free: 10.66 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.6058, allocations: 0 / 1.456 GB, free: 10.66 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6058, allocations: 0 / 1.456 GB, free: 10.66 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.6058, allocations: 0 / 1.456 GB, free: 10.66 MB / 1.154 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.0007205/0.6066, allocations: 373.4 kB / 1.457 GB, free: 10.27 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.6066, allocations: 8.031 kB / 1.457 GB, free: 10.26 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.219e-05/0.6066, allocations: 8 kB / 1.457 GB, free: 10.25 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.6067, allocations: 46.55 kB / 1.457 GB, free: 10.2 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.245e-05/0.6067, allocations: 19.84 kB / 1.457 GB, free: 10.18 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.6071, allocations: 192.8 kB / 1.457 GB, free: 9.965 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.6071, allocations: 12 kB / 1.457 GB, free: 9.953 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.6071, allocations: 16 kB / 1.457 GB, free: 9.938 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.6074, allocations: 164.4 kB / 1.457 GB, free: 9.746 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6074, allocations: 0 / 1.457 GB, free: 9.746 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.6075, allocations: 8 kB / 1.457 GB, free: 9.738 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.6075, allocations: 8 kB / 1.457 GB, free: 9.73 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.6076, allocations: 75.77 kB / 1.457 GB, free: 9.656 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.6088, allocations: 1.105 MB / 1.458 GB, free: 8.48 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.6089, allocations: 177.1 kB / 1.459 GB, free: 8.297 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.623e-05/0.609, allocations: 80.14 kB / 1.459 GB, free: 8.215 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.609, allocations: 79.28 kB / 1.459 GB, free: 8.137 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.742e-05/0.6091, allocations: 109.8 kB / 1.459 GB, free: 8.02 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.6091, allocations: 0 / 1.459 GB, free: 8.02 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 0.0001174/0.6092, allocations: 45.55 kB / 1.459 GB, free: 7.969 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.6093, allocations: 182.1 kB / 1.459 GB, free: 7.766 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.6096, allocations: 252.9 kB / 1.459 GB, free: 7.512 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.6096, allocations: 25.7 kB / 1.459 GB, free: 7.48 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.6098, allocations: 136 kB / 1.459 GB, free: 7.344 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-06/0.6098, allocations: 7.938 kB / 1.459 GB, free: 7.336 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.6098, allocations: 21.72 kB / 1.459 GB, free: 7.309 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.61, allocations: 322.8 kB / 1.46 GB, free: 6.984 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/0.61, allocations: 11.98 kB / 1.46 GB, free: 6.973 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-05/0.6101, allocations: 71.69 kB / 1.46 GB, free: 6.875 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.988e-05/0.6102, allocations: 52.23 kB / 1.46 GB, free: 6.809 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6102, allocations: 0 / 1.46 GB, free: 6.809 MB / 1.154 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001824/0.6104, allocations: 93.45 kB / 1.46 GB, free: 6.711 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.6104, allocations: 4 kB / 1.46 GB, free: 6.707 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6104, allocations: 0 / 1.46 GB, free: 6.707 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.6104, allocations: 4 kB / 1.46 GB, free: 6.703 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.6105, allocations: 11.94 kB / 1.46 GB, free: 6.691 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6105, allocations: 0 / 1.46 GB, free: 6.691 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.6106, allocations: 15.84 kB / 1.46 GB, free: 6.676 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.6106, allocations: 4.125 kB / 1.46 GB, free: 6.672 MB / 1.154 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.0001814/0.6108, allocations: 217.1 kB / 1.46 GB, free: 6.449 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.6109, allocations: 124.8 kB / 1.46 GB, free: 6.32 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.589e-05/0.611, allocations: 117.8 kB / 1.46 GB, free: 6.199 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.527e-05/0.611, allocations: 184.3 kB / 1.461 GB, free: 6.012 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.997e-05/0.6111, allocations: 188.2 kB / 1.461 GB, free: 5.82 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.313e-05/0.6112, allocations: 176.3 kB / 1.461 GB, free: 5.641 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.6116, allocations: 428.1 kB / 1.461 GB, free: 5.172 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.227e-05/0.6116, allocations: 108.9 kB / 1.461 GB, free: 5.059 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.6117, allocations: 105 kB / 1.462 GB, free: 4.949 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.6118, allocations: 180.2 kB / 1.462 GB, free: 4.766 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.6119, allocations: 180.3 kB / 1.462 GB, free: 4.582 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001017/0.612, allocations: 184.2 kB / 1.462 GB, free: 4.395 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-05/0.6121, allocations: 184.2 kB / 1.462 GB, free: 4.207 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.6123, allocations: 319.6 kB / 1.463 GB, free: 3.871 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.338e-05/0.6124, allocations: 124.9 kB / 1.463 GB, free: 3.742 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.6125, allocations: 180.2 kB / 1.463 GB, free: 3.559 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.6126, allocations: 109 kB / 1.463 GB, free: 3.445 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/0.6127, allocations: 180.3 kB / 1.463 GB, free: 3.262 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/0.6128, allocations: 104.9 kB / 1.463 GB, free: 3.152 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001881/0.613, allocations: 184.5 kB / 1.463 GB, free: 2.977 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.613, allocations: 0 / 1.463 GB, free: 2.977 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002456/0.6132, allocations: 23.94 kB / 1.463 GB, free: 2.953 MB / 1.154 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.0005033/0.6137, allocations: 0.8242 MB / 1.464 GB, free: 2.098 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 9.604e-05/0.6138, allocations: 19.94 kB / 1.464 GB, free: 2.078 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6138, allocations: 0 / 1.464 GB, free: 2.078 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.6138, allocations: 0 / 1.464 GB, free: 2.078 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/0.6145, allocations: 0.5119 MB / 1.465 GB, free: 1.562 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.6168, allocations: 2.054 MB / 1.467 GB, free: 15.4 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.6172, allocations: 0.7164 MB / 1.467 GB, free: 14.66 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 8.863e-05/0.6173, allocations: 29.52 kB / 1.468 GB, free: 14.63 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/0.6173, allocations: 39.42 kB / 1.468 GB, free: 14.59 MB / 1.17 GB Notification: Performance of SimCode: time 3.41e-07/0.6173, allocations: 0 / 1.468 GB, free: 14.59 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.6422, allocations: 4.04 MB / 1.472 GB, free: 10.73 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12, allocations: 4.062 kB / 1.472 GB, free: 10.73 MB / 1.17 GB " [Timeout remaining time 287] (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/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: 18.89580392296193]