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.001367/0.001367, allocations: 108.4 kB / 16.45 MB, free: 6.488 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.00151/0.00151, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.431/1.431, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.289/3.289, allocations: 0.49 GB / 0.7916 GB, free: 33.28 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_12_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.002016/0.002016, allocations: 66.52 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3467, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2247/0.5715, allocations: 169.5 MB / 1.486 GB, free: 9.16 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006768/0.5782, allocations: 5.743 MB / 1.492 GB, free: 3.398 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.5785, allocations: 15.88 kB / 1.492 GB, free: 3.383 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.5789, allocations: 91.31 kB / 1.492 GB, free: 3.293 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.5791, allocations: 55.61 kB / 1.492 GB, free: 3.238 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.5792, allocations: 39.89 kB / 1.492 GB, free: 3.199 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.5796, allocations: 219.1 kB / 1.492 GB, free: 2.984 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.5798, allocations: 62.64 kB / 1.492 GB, free: 2.922 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.58, allocations: 99.62 kB / 1.493 GB, free: 2.824 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.5801, allocations: 79.56 kB / 1.493 GB, free: 2.746 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.5801, allocations: 8 kB / 1.493 GB, free: 2.738 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 2.319e-05/0.5802, allocations: 16 kB / 1.493 GB, free: 2.723 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.5802, allocations: 31.86 kB / 1.493 GB, free: 2.691 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 9.097e-05/0.5803, allocations: 71.66 kB / 1.493 GB, free: 2.621 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.5805, allocations: 163.2 kB / 1.493 GB, free: 2.461 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5805, allocations: 0 / 1.493 GB, free: 2.461 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5805, allocations: 0 / 1.493 GB, free: 2.461 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.5806, allocations: 0 / 1.493 GB, free: 2.461 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.0006924/0.5812, allocations: 450.5 kB / 1.493 GB, free: 1.973 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5813, allocations: 11.98 kB / 1.493 GB, free: 1.961 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.466e-05/0.5814, allocations: 50.55 kB / 1.493 GB, free: 1.902 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.5814, allocations: 15.91 kB / 1.493 GB, free: 1.887 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.5818, allocations: 260.7 kB / 1.494 GB, free: 1.594 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.5818, allocations: 12 kB / 1.494 GB, free: 1.582 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.5818, allocations: 12 kB / 1.494 GB, free: 1.57 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.5821, allocations: 169.4 kB / 1.494 GB, free: 1.375 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.5821, allocations: 0 / 1.494 GB, free: 1.375 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.5821, allocations: 8 kB / 1.494 GB, free: 1.367 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.5821, allocations: 4 kB / 1.494 GB, free: 1.363 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.5822, allocations: 67.84 kB / 1.494 GB, free: 1.297 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.5833, allocations: 1.156 MB / 1.495 GB, free: 64 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.5834, allocations: 169.1 kB / 1.495 GB, free: 15.89 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.5835, allocations: 84.08 kB / 1.495 GB, free: 15.8 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.5835, allocations: 75.28 kB / 1.495 GB, free: 15.73 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.313e-05/0.5836, allocations: 113.8 kB / 1.495 GB, free: 15.61 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.5836, allocations: 0 / 1.495 GB, free: 15.61 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001021/0.5837, allocations: 45.55 kB / 1.495 GB, free: 15.55 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.5838, allocations: 178.1 kB / 1.496 GB, free: 15.36 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.5841, allocations: 249 kB / 1.496 GB, free: 15.1 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.5841, allocations: 29.7 kB / 1.496 GB, free: 15.07 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.5842, allocations: 135.9 kB / 1.496 GB, free: 14.93 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.5842, allocations: 0 / 1.496 GB, free: 14.93 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.5843, allocations: 25.72 kB / 1.496 GB, free: 14.9 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.5844, allocations: 326.8 kB / 1.496 GB, free: 14.57 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.5844, allocations: 11.98 kB / 1.496 GB, free: 14.56 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.135e-05/0.5845, allocations: 67.66 kB / 1.496 GB, free: 14.46 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.539e-05/0.5846, allocations: 60.14 kB / 1.497 GB, free: 14.39 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5846, allocations: 4 kB / 1.497 GB, free: 14.39 MB / 1.201 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001691/0.5848, allocations: 85.58 kB / 1.497 GB, free: 14.3 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.5848, allocations: 12.16 kB / 1.497 GB, free: 14.29 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5848, allocations: 4 kB / 1.497 GB, free: 14.28 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.5848, allocations: 0 / 1.497 GB, free: 14.28 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.5849, allocations: 11.94 kB / 1.497 GB, free: 14.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.5849, allocations: 4 kB / 1.497 GB, free: 14.27 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.812e-05/0.585, allocations: 15.84 kB / 1.497 GB, free: 14.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.585, allocations: 4 kB / 1.497 GB, free: 14.25 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.000152/0.5851, allocations: 201.1 kB / 1.497 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.706e-05/0.5852, allocations: 132.9 kB / 1.497 GB, free: 13.9 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.74e-05/0.5853, allocations: 121.8 kB / 1.497 GB, free: 13.78 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.905e-05/0.5854, allocations: 180.3 kB / 1.497 GB, free: 13.59 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.477e-05/0.5855, allocations: 180.2 kB / 1.497 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.468e-05/0.5856, allocations: 184.2 kB / 1.498 GB, free: 13.22 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.5859, allocations: 453.1 kB / 1.498 GB, free: 12.72 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.502e-05/0.5859, allocations: 104.9 kB / 1.498 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.586, allocations: 105 kB / 1.498 GB, free: 12.5 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.5861, allocations: 180.2 kB / 1.498 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.864e-05/0.5862, allocations: 184.3 kB / 1.499 GB, free: 12.13 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.198e-05/0.5863, allocations: 176.3 kB / 1.499 GB, free: 11.95 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-05/0.5863, allocations: 184.2 kB / 1.499 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.5865, allocations: 327.6 kB / 1.499 GB, free: 11.42 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.5867, allocations: 198 kB / 1.499 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.5868, allocations: 180.2 kB / 1.5 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.5869, allocations: 105 kB / 1.5 GB, free: 10.91 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.587, allocations: 184.3 kB / 1.5 GB, free: 10.72 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.5871, allocations: 104.9 kB / 1.5 GB, free: 10.61 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002033/0.5873, allocations: 188.5 kB / 1.5 GB, free: 10.43 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5873, allocations: 0 / 1.5 GB, free: 10.43 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000274/0.5875, allocations: 20 kB / 1.5 GB, free: 10.41 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.0004949/0.588, allocations: 0.8242 MB / 1.501 GB, free: 9.555 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.5881, allocations: 19.94 kB / 1.501 GB, free: 9.535 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5881, allocations: 0 / 1.501 GB, free: 9.535 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.5881, allocations: 3.938 kB / 1.501 GB, free: 9.531 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006667/0.5888, allocations: 0.5144 MB / 1.502 GB, free: 9.016 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.591, allocations: 2.053 MB / 1.504 GB, free: 6.859 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.5914, allocations: 0.7163 MB / 1.504 GB, free: 6.117 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 8.293e-05/0.5914, allocations: 21.53 kB / 1.504 GB, free: 6.098 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.5915, allocations: 47.61 kB / 1.504 GB, free: 6.055 MB / 1.201 GB Notification: Performance of SimCode: time 6.01e-07/0.5915, allocations: 0 / 1.504 GB, free: 6.055 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.6211, allocations: 3.882 MB / 1.508 GB, free: 2.273 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/9.073, allocations: 15.92 kB / 1.508 GB, free: 2.258 MB / 1.201 GB " [Timeout remaining time 291] (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: 15.808281087083742]