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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008663/0.0008663, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.005076/0.005076, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.165/1.165, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.311/2.311, allocations: 462.7 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002795, allocations: 7.625 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2195, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1321/0.3516, allocations: 161.8 MB / 1.217 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004561/0.3562, allocations: 5.619 MB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.3564, allocations: 4 kB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.3566, allocations: 75.52 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.3568, allocations: 51.67 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.678e-05/0.3569, allocations: 27.97 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.3572, allocations: 263 kB / 1.223 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3574, allocations: 83.17 kB / 1.223 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.3575, allocations: 87.58 kB / 1.223 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3577, allocations: 67.64 kB / 1.223 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.3577, allocations: 0 / 1.223 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.3577, allocations: 4 kB / 1.223 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.575e-05/0.3577, allocations: 19.92 kB / 1.223 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.3578, allocations: 85.31 kB / 1.223 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.3579, allocations: 151.4 kB / 1.223 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.358, allocations: 0 / 1.223 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.358, allocations: 0 / 1.223 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.358, allocations: 0 / 1.223 GB, free: 11.96 MB / 0.9825 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.0004155/0.3584, allocations: 410.8 kB / 1.224 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3584, allocations: 11.97 kB / 1.224 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.3585, allocations: 46.5 kB / 1.224 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.3585, allocations: 23.73 kB / 1.224 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3587, allocations: 238.7 kB / 1.224 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.3588, allocations: 8 kB / 1.224 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.3588, allocations: 12 kB / 1.224 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.359, allocations: 173.1 kB / 1.224 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.359, allocations: 3.938 kB / 1.224 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.359, allocations: 11.94 kB / 1.224 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.359, allocations: 4 kB / 1.224 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.3591, allocations: 67.91 kB / 1.224 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006747/0.3598, allocations: 1.148 MB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.09e-05/0.3599, allocations: 177.1 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.3599, allocations: 84.08 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3599, allocations: 83.27 kB / 1.226 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.36, allocations: 105.8 kB / 1.226 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.36, allocations: 0 / 1.226 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.826e-05/0.3601, allocations: 41.52 kB / 1.226 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.3601, allocations: 186 kB / 1.226 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.3603, allocations: 249 kB / 1.226 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.3604, allocations: 29.7 kB / 1.226 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.3604, allocations: 135.8 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.3604, allocations: 0 / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.3605, allocations: 9.719 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.976e-05/0.3606, allocations: 330.8 kB / 1.227 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.3606, allocations: 4 kB / 1.227 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.928e-05/0.3606, allocations: 71.72 kB / 1.227 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.009e-05/0.3607, allocations: 48.22 kB / 1.227 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3607, allocations: 0 / 1.227 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001295/0.3608, allocations: 93.31 kB / 1.227 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.3609, allocations: 4 kB / 1.227 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3609, allocations: 0 / 1.227 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.3609, allocations: 4 kB / 1.227 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.17e-05/0.3609, allocations: 8 kB / 1.227 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3609, allocations: 3.984 kB / 1.227 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.157e-05/0.361, allocations: 23.72 kB / 1.227 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.361, allocations: 4 kB / 1.227 GB, free: 7.824 MB / 0.9825 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 9.594e-05/0.3611, allocations: 213.2 kB / 1.227 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.3612, allocations: 120.7 kB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.3612, allocations: 121.8 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.126e-05/0.3613, allocations: 180.3 kB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.353e-05/0.3613, allocations: 176.3 kB / 1.228 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.1e-05/0.3614, allocations: 184.2 kB / 1.228 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.3616, allocations: 457.1 kB / 1.228 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-05/0.3616, allocations: 109 kB / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.3617, allocations: 105.1 kB / 1.228 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.132e-05/0.3617, allocations: 180.3 kB / 1.229 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.3618, allocations: 184.2 kB / 1.229 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.069e-05/0.3618, allocations: 180.3 kB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.122e-05/0.3619, allocations: 188.1 kB / 1.229 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.362, allocations: 315.6 kB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.362, allocations: 201.8 kB / 1.23 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.3621, allocations: 184.3 kB / 1.23 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.218e-05/0.3622, allocations: 104.9 kB / 1.23 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.3623, allocations: 180.2 kB / 1.23 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.3623, allocations: 105 kB / 1.23 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001397/0.3624, allocations: 184.4 kB / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3624, allocations: 0 / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002214/0.3627, allocations: 20 kB / 1.23 GB, free: 3.988 MB / 0.9825 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.0002775/0.3629, allocations: 0.8242 MB / 1.231 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.522e-05/0.363, allocations: 23.92 kB / 1.231 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.363, allocations: 0 / 1.231 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.363, allocations: 320 / 1.231 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.3636, allocations: 0.5852 MB / 1.232 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.3651, allocations: 2.062 MB / 1.234 GB, free: 364 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.3653, allocations: 0.7205 MB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.948e-05/0.3654, allocations: 21.55 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.3655, allocations: 43.42 kB / 1.235 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.3655, allocations: 0 / 1.235 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.167/3.533, allocations: 3.558 MB / 1.238 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/3.533, allocations: 197.9 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/5.543, allocations: 8 kB / 1.238 GB, free: 11.87 MB / 0.9981 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=50 --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