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.00175/0.00175, allocations: 116.1 kB / 17.17 MB, free: 6 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.002292/0.002292, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.571/1.571, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.855/2.855, allocations: 476.7 MB / 0.7678 GB, free: 9.312 MB / 0.6075 GB " [Timeout remaining time 176] 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.002061/0.002061, allocations: 71.89 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.1, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2488/1.348, allocations: 169.5 MB / 1.444 GB, free: 2.355 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006661/1.355, allocations: 5.747 MB / 1.45 GB, free: 12.59 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002863/1.355, allocations: 7.938 kB / 1.45 GB, free: 12.58 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004256/1.356, allocations: 99.31 kB / 1.45 GB, free: 12.48 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002231/1.356, allocations: 59.61 kB / 1.45 GB, free: 12.43 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/1.356, allocations: 39.83 kB / 1.45 GB, free: 12.39 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0003325/1.356, allocations: 215.1 kB / 1.451 GB, free: 12.18 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/1.357, allocations: 66.59 kB / 1.451 GB, free: 12.11 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/1.357, allocations: 95.64 kB / 1.451 GB, free: 12.02 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/1.357, allocations: 79.62 kB / 1.451 GB, free: 11.94 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/1.357, allocations: 12 kB / 1.451 GB, free: 11.93 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 2.384e-05/1.357, allocations: 12 kB / 1.451 GB, free: 11.91 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/1.357, allocations: 27.86 kB / 1.451 GB, free: 11.89 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 8.219e-05/1.357, allocations: 71.61 kB / 1.451 GB, free: 11.82 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/1.357, allocations: 163.3 kB / 1.451 GB, free: 11.66 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.357, allocations: 0 / 1.451 GB, free: 11.66 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.907e-06/1.357, allocations: 3.984 kB / 1.451 GB, free: 11.65 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.063e-06/1.357, allocations: 0 / 1.451 GB, free: 11.65 MB / 1.139 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.0007313/1.358, allocations: 450.4 kB / 1.451 GB, free: 11.16 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.358, allocations: 12.03 kB / 1.451 GB, free: 11.15 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.43e-05/1.358, allocations: 4 kB / 1.451 GB, free: 11.15 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/1.358, allocations: 50.48 kB / 1.452 GB, free: 11.09 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/1.358, allocations: 19.84 kB / 1.452 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/1.359, allocations: 243.4 kB / 1.452 GB, free: 10.79 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/1.359, allocations: 12 kB / 1.452 GB, free: 10.78 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/1.359, allocations: 8 kB / 1.452 GB, free: 10.77 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/1.359, allocations: 173.4 kB / 1.452 GB, free: 10.57 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/1.359, allocations: 3.938 kB / 1.452 GB, free: 10.57 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/1.359, allocations: 4 kB / 1.452 GB, free: 10.57 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/1.359, allocations: 8 kB / 1.452 GB, free: 10.56 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/1.359, allocations: 75.83 kB / 1.452 GB, free: 10.48 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/1.36, allocations: 1.148 MB / 1.453 GB, free: 9.258 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/1.36, allocations: 181 kB / 1.453 GB, free: 9.07 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/1.36, allocations: 80.14 kB / 1.453 GB, free: 8.988 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/1.36, allocations: 79.28 kB / 1.453 GB, free: 8.91 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.989e-05/1.36, allocations: 105.8 kB / 1.454 GB, free: 8.797 MB / 1.139 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/1.36, allocations: 0 / 1.454 GB, free: 8.797 MB / 1.139 GB Notification: Performance of matching and sorting (n=0): time 9.303e-05/1.361, allocations: 41.61 kB / 1.454 GB, free: 8.75 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/1.361, allocations: 190 kB / 1.454 GB, free: 8.539 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/1.361, allocations: 245 kB / 1.454 GB, free: 8.293 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/1.361, allocations: 25.7 kB / 1.454 GB, free: 8.262 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/1.361, allocations: 144 kB / 1.454 GB, free: 8.117 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/1.361, allocations: 0 / 1.454 GB, free: 8.117 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/1.361, allocations: 17.72 kB / 1.454 GB, free: 8.094 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.361, allocations: 322.8 kB / 1.455 GB, free: 7.77 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/1.361, allocations: 15.98 kB / 1.455 GB, free: 7.754 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.851e-05/1.361, allocations: 63.72 kB / 1.455 GB, free: 7.664 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.788e-05/1.362, allocations: 48.23 kB / 1.455 GB, free: 7.602 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/1.362, allocations: 0 / 1.455 GB, free: 7.602 MB / 1.139 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001857/1.362, allocations: 97.39 kB / 1.455 GB, free: 7.5 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.362, allocations: 4 kB / 1.455 GB, free: 7.496 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.362, allocations: 4 kB / 1.455 GB, free: 7.492 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.362, allocations: 0 / 1.455 GB, free: 7.492 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/1.362, allocations: 11.98 kB / 1.455 GB, free: 7.48 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/1.362, allocations: 0 / 1.455 GB, free: 7.48 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.539e-05/1.362, allocations: 31.7 kB / 1.455 GB, free: 7.449 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/1.362, allocations: 3.984 kB / 1.455 GB, free: 7.445 MB / 1.139 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.0001604/1.362, allocations: 217.2 kB / 1.455 GB, free: 7.223 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/1.362, allocations: 124.9 kB / 1.455 GB, free: 7.094 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.185e-05/1.362, allocations: 121.8 kB / 1.455 GB, free: 6.965 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.223e-05/1.362, allocations: 180.3 kB / 1.455 GB, free: 6.781 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.73e-05/1.362, allocations: 180.3 kB / 1.456 GB, free: 6.598 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.004e-05/1.362, allocations: 184.2 kB / 1.456 GB, free: 6.41 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/1.363, allocations: 453.1 kB / 1.456 GB, free: 5.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-05/1.363, allocations: 108.9 kB / 1.456 GB, free: 5.797 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/1.363, allocations: 101 kB / 1.456 GB, free: 5.691 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.802e-05/1.363, allocations: 180.3 kB / 1.457 GB, free: 5.508 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.715e-05/1.363, allocations: 180.2 kB / 1.457 GB, free: 5.324 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.601e-05/1.363, allocations: 184.3 kB / 1.457 GB, free: 5.137 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-05/1.363, allocations: 184.2 kB / 1.457 GB, free: 4.949 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/1.363, allocations: 319.7 kB / 1.457 GB, free: 4.613 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/1.364, allocations: 197.9 kB / 1.458 GB, free: 4.395 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/1.364, allocations: 184.4 kB / 1.458 GB, free: 4.207 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/1.364, allocations: 112.9 kB / 1.458 GB, free: 4.09 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/1.364, allocations: 180.3 kB / 1.458 GB, free: 3.906 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/1.364, allocations: 105 kB / 1.458 GB, free: 3.797 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001827/1.364, allocations: 184.5 kB / 1.458 GB, free: 3.621 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.364, allocations: 3.938 kB / 1.458 GB, free: 3.617 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002494/1.364, allocations: 20 kB / 1.458 GB, free: 3.598 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.0005255/1.365, allocations: 0.8209 MB / 1.459 GB, free: 2.746 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 9.96e-05/1.365, allocations: 23.92 kB / 1.459 GB, free: 2.723 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.365, allocations: 0 / 1.459 GB, free: 2.723 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/1.365, allocations: 4.312 kB / 1.459 GB, free: 2.719 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006915/1.366, allocations: 0.4982 MB / 1.46 GB, free: 2.219 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/1.368, allocations: 2.059 MB / 1.462 GB, free: 60 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/1.368, allocations: 0.7162 MB / 1.462 GB, free: 15.32 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 7.557e-05/1.368, allocations: 21.55 kB / 1.462 GB, free: 15.3 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/1.369, allocations: 43.42 kB / 1.462 GB, free: 15.25 MB / 1.154 GB Notification: Performance of SimCode: time 4.61e-07/1.369, allocations: 0 / 1.462 GB, free: 15.25 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/1.391, allocations: 3.947 MB / 1.466 GB, free: 11.43 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.455/9.846, allocations: 0 / 1.466 GB, free: 11.43 MB / 1.154 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/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: 16.37596435000887]