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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_11_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.001415/0.001415, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 197 kB / 16.54 MB, free: 6.664 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.45/2.45, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 62.2 kB / 0.9086 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2386, allocations: 159.1 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.165/0.4037, allocations: 166.1 MB / 1.226 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005311/0.4091, allocations: 5.7 MB / 1.232 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.4092, allocations: 11.94 kB / 1.232 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.4095, allocations: 91.31 kB / 1.232 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.4097, allocations: 51.62 kB / 1.232 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.91e-05/0.4098, allocations: 35.95 kB / 1.232 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.41, allocations: 211.1 kB / 1.232 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.4102, allocations: 98.61 kB / 1.232 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.4104, allocations: 99.64 kB / 1.232 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.4105, allocations: 79.56 kB / 1.232 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.4106, allocations: 8 kB / 1.232 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.558e-05/0.4106, allocations: 15.94 kB / 1.233 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.4106, allocations: 23.92 kB / 1.233 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.404e-05/0.4107, allocations: 71.61 kB / 1.233 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.4109, allocations: 155.5 kB / 1.233 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4109, allocations: 4 kB / 1.233 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4109, allocations: 0 / 1.233 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.4109, allocations: 0 / 1.233 GB, free: 0.8203 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.000503/0.4114, allocations: 442.7 kB / 1.233 GB, free: 348 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.4114, allocations: 8.031 kB / 1.233 GB, free: 340 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.4115, allocations: 42.55 kB / 1.233 GB, free: 288 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.4115, allocations: 23.75 kB / 1.233 GB, free: 264 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.4118, allocations: 242.6 kB / 1.233 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.4118, allocations: 8 kB / 1.233 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.4118, allocations: 12 kB / 1.233 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.4121, allocations: 169.6 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.4121, allocations: 0 / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4121, allocations: 8 kB / 1.234 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.4121, allocations: 4 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.4122, allocations: 67.83 kB / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008194/0.413, allocations: 1.16 MB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.855e-05/0.4131, allocations: 169.1 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.4132, allocations: 84.08 kB / 1.235 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.4132, allocations: 79.22 kB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.4133, allocations: 113.8 kB / 1.235 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.4133, allocations: 0 / 1.235 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.096e-05/0.4133, allocations: 45.52 kB / 1.235 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/0.4134, allocations: 178.1 kB / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.4137, allocations: 249 kB / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.4137, allocations: 29.7 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.4138, allocations: 127.8 kB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.4138, allocations: 0 / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.4138, allocations: 25.7 kB / 1.236 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.414, allocations: 330.8 kB / 1.236 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.414, allocations: 4 kB / 1.236 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.4141, allocations: 75.66 kB / 1.236 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.975e-05/0.4141, allocations: 56.25 kB / 1.236 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4141, allocations: 0 / 1.236 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001372/0.4143, allocations: 85.31 kB / 1.236 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.4143, allocations: 9.406 kB / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.4143, allocations: 4 kB / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.4143, allocations: 0 / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.172e-05/0.4144, allocations: 15.92 kB / 1.236 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4144, allocations: 4 kB / 1.236 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.4145, allocations: 19.78 kB / 1.236 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4145, allocations: 4 kB / 1.237 GB, free: 12.64 MB / 0.9981 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.0001155/0.4146, allocations: 205 kB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.4147, allocations: 124.7 kB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/0.4147, allocations: 125.8 kB / 1.237 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.253e-05/0.4148, allocations: 180.2 kB / 1.237 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.42e-05/0.4149, allocations: 180.3 kB / 1.237 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.383e-05/0.4149, allocations: 176.3 kB / 1.237 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.4152, allocations: 461 kB / 1.238 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-05/0.4153, allocations: 105.1 kB / 1.238 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.992e-05/0.4153, allocations: 108.9 kB / 1.238 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.325e-05/0.4154, allocations: 180.2 kB / 1.238 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.246e-05/0.4155, allocations: 180.3 kB / 1.238 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-05/0.4155, allocations: 180.2 kB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.29e-05/0.4156, allocations: 176.3 kB / 1.239 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.4158, allocations: 331.5 kB / 1.239 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.682e-05/0.4159, allocations: 197.9 kB / 1.239 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/0.4159, allocations: 180.2 kB / 1.239 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.4161, allocations: 109 kB / 1.24 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.4161, allocations: 184.2 kB / 1.24 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.4162, allocations: 101 kB / 1.24 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001622/0.4163, allocations: 188.5 kB / 1.24 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4163, allocations: 0 / 1.24 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002245/0.4166, allocations: 20 kB / 1.24 GB, free: 8.805 MB / 0.9981 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.0003784/0.417, allocations: 0.8241 MB / 1.241 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.198e-05/0.417, allocations: 23.92 kB / 1.241 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.417, allocations: 0 / 1.241 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/0.417, allocations: 0 / 1.241 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.4176, allocations: 0.509 MB / 1.241 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.4194, allocations: 2.035 MB / 1.243 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.4197, allocations: 0.7202 MB / 1.244 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.686e-05/0.4198, allocations: 21.58 kB / 1.244 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.4198, allocations: 47.36 kB / 1.244 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/0.4198, allocations: 0 / 1.244 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.942/1.362, allocations: 3.821 MB / 1.248 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/11.5, allocations: 7.844 kB / 1.248 GB, free: 0.7109 MB / 0.9981 GB (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 --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) 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) Reference file matches