Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007193/0.007193, allocations: 96.27 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 203.4 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.482/2.482, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 67.89 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.288, allocations: 162.3 MB / 1.242 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.7751/1.063, allocations: 166.1 MB / 1.404 GB, free: 9.066 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006439/1.07, allocations: 5.691 MB / 1.41 GB, free: 4.457 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/1.07, allocations: 13.38 kB / 1.41 GB, free: 4.449 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004213/1.07, allocations: 95.94 kB / 1.41 GB, free: 4.367 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002139/1.07, allocations: 48.12 kB / 1.41 GB, free: 4.328 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/1.071, allocations: 37.27 kB / 1.41 GB, free: 4.297 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0003758/1.071, allocations: 217.8 kB / 1.41 GB, free: 4.172 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/1.071, allocations: 87.72 kB / 1.41 GB, free: 4.125 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/1.072, allocations: 108.7 kB / 1.41 GB, free: 4.062 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/1.072, allocations: 72.94 kB / 1.41 GB, free: 4.016 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/1.072, allocations: 9.938 kB / 1.41 GB, free: 4.016 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 3.633e-05/1.072, allocations: 10.06 kB / 1.41 GB, free: 4.016 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/1.072, allocations: 30.77 kB / 1.41 GB, free: 3.992 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/1.072, allocations: 71.52 kB / 1.41 GB, free: 3.945 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/1.072, allocations: 165 kB / 1.411 GB, free: 3.832 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/1.072, allocations: 0 / 1.411 GB, free: 3.832 MB / 1.107 GB Notification: Performance of FrontEnd: time 4.177e-06/1.072, allocations: 0 / 1.411 GB, free: 3.832 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.042e-06/1.072, allocations: 5 kB / 1.411 GB, free: 3.828 MB / 1.107 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.0007047/1.073, allocations: 451.5 kB / 1.411 GB, free: 3.383 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/1.073, allocations: 9.719 kB / 1.411 GB, free: 3.383 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.273e-05/1.073, allocations: 47.17 kB / 1.411 GB, free: 3.332 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/1.073, allocations: 16.75 kB / 1.411 GB, free: 3.324 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/1.074, allocations: 261.7 kB / 1.411 GB, free: 3.062 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/1.074, allocations: 9.094 kB / 1.411 GB, free: 3.059 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/1.074, allocations: 11.88 kB / 1.411 GB, free: 3.055 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/1.074, allocations: 160.2 kB / 1.411 GB, free: 2.914 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.074, allocations: 4 kB / 1.411 GB, free: 2.91 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/1.074, allocations: 6.719 kB / 1.411 GB, free: 2.906 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/1.074, allocations: 6.266 kB / 1.411 GB, free: 2.902 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/1.074, allocations: 74.92 kB / 1.412 GB, free: 2.863 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/1.075, allocations: 1.156 MB / 1.413 GB, free: 1.707 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/1.076, allocations: 166.2 kB / 1.413 GB, free: 1.535 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/1.076, allocations: 84.14 kB / 1.413 GB, free: 1.449 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/1.076, allocations: 84.28 kB / 1.413 GB, free: 1.367 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.586e-05/1.076, allocations: 107 kB / 1.413 GB, free: 1.254 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/1.076, allocations: 0 / 1.413 GB, free: 1.254 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 9.718e-05/1.076, allocations: 42.8 kB / 1.413 GB, free: 1.215 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/1.076, allocations: 178.1 kB / 1.413 GB, free: 1.016 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/1.076, allocations: 255.4 kB / 1.414 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/1.076, allocations: 29.7 kB / 1.414 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/1.076, allocations: 133.9 kB / 1.414 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/1.076, allocations: 0 / 1.414 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/1.076, allocations: 20.25 kB / 1.414 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.077, allocations: 322.9 kB / 1.414 GB, free: 348 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/1.077, allocations: 12.86 kB / 1.414 GB, free: 340 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/1.077, allocations: 71.38 kB / 1.414 GB, free: 252 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.021e-05/1.077, allocations: 47.77 kB / 1.414 GB, free: 200 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.077, allocations: 4 kB / 1.414 GB, free: 196 kB / 1.107 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001555/1.077, allocations: 92.48 kB / 1.414 GB, free: 128 kB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/1.077, allocations: 9.062 kB / 1.414 GB, free: 124 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.077, allocations: 1.188 kB / 1.414 GB, free: 124 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/1.077, allocations: 1.156 kB / 1.414 GB, free: 124 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.654e-05/1.077, allocations: 7.844 kB / 1.414 GB, free: 124 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.077, allocations: 1.375 kB / 1.414 GB, free: 124 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.266e-05/1.077, allocations: 25.09 kB / 1.414 GB, free: 104 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/1.077, allocations: 11 kB / 1.414 GB, free: 96 kB / 1.107 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.000146/1.077, allocations: 203.9 kB / 1.414 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/1.077, allocations: 125.2 kB / 1.415 GB, free: 15.77 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.909e-05/1.078, allocations: 119.6 kB / 1.415 GB, free: 15.66 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-05/1.078, allocations: 186.1 kB / 1.415 GB, free: 15.47 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.421e-05/1.078, allocations: 181.5 kB / 1.415 GB, free: 15.29 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-05/1.078, allocations: 185.5 kB / 1.415 GB, free: 15.1 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/1.078, allocations: 448.5 kB / 1.416 GB, free: 14.62 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-05/1.078, allocations: 107.3 kB / 1.416 GB, free: 14.51 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/1.078, allocations: 113.8 kB / 1.416 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-05/1.078, allocations: 177.3 kB / 1.416 GB, free: 14.21 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-05/1.078, allocations: 182.1 kB / 1.416 GB, free: 14.03 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.373e-05/1.078, allocations: 180.2 kB / 1.416 GB, free: 13.85 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.306e-05/1.078, allocations: 177.2 kB / 1.417 GB, free: 13.67 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/1.079, allocations: 323.2 kB / 1.417 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/1.079, allocations: 202.3 kB / 1.417 GB, free: 13.12 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/1.079, allocations: 185.7 kB / 1.417 GB, free: 12.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/1.079, allocations: 103.6 kB / 1.417 GB, free: 12.83 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/1.079, allocations: 181.2 kB / 1.418 GB, free: 12.64 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/1.079, allocations: 102.1 kB / 1.418 GB, free: 12.54 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001795/1.079, allocations: 186.5 kB / 1.418 GB, free: 12.41 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.079, allocations: 0 / 1.418 GB, free: 12.41 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00025/1.08, allocations: 24.09 kB / 1.418 GB, free: 12.41 MB / 1.123 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.0004353/1.08, allocations: 0.831 MB / 1.419 GB, free: 11.57 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 8.196e-05/1.08, allocations: 21.19 kB / 1.419 GB, free: 11.56 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.08, allocations: 4.312 kB / 1.419 GB, free: 11.56 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/1.08, allocations: 0 / 1.419 GB, free: 11.56 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/1.081, allocations: 0.5078 MB / 1.419 GB, free: 11.08 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/1.083, allocations: 2.044 MB / 1.421 GB, free: 9.352 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/1.083, allocations: 0.7109 MB / 1.422 GB, free: 8.641 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001029/1.083, allocations: 30.09 kB / 1.422 GB, free: 8.625 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.525e-05/1.083, allocations: 42.98 kB / 1.422 GB, free: 8.59 MB / 1.123 GB Notification: Performance of SimCode: time 3.11e-07/1.083, allocations: 0 / 1.422 GB, free: 8.59 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03998/1.123, allocations: 3.879 MB / 1.426 GB, free: 6.625 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.663/10.79, allocations: 11.94 kB / 1.426 GB, free: 6.617 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches