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.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.0008395/0.0008395, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008697/0.0008697, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.892/0.892, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.751/1.751, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.334e-05, allocations: 4.953 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.6513/0.6513, allocations: 146.5 MB / 1.143 GB, free: 8.473 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004199/0.6555, allocations: 5.151 MB / 1.148 GB, free: 5.02 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.6557, allocations: 11.38 kB / 1.148 GB, free: 5.016 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0003825/0.6561, allocations: 103 kB / 1.148 GB, free: 4.945 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.6563, allocations: 62.17 kB / 1.148 GB, free: 4.902 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.6564, allocations: 41.92 kB / 1.148 GB, free: 4.879 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.6567, allocations: 218.9 kB / 1.148 GB, free: 4.773 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.6569, allocations: 53.12 kB / 1.148 GB, free: 4.75 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.6571, allocations: 136.5 kB / 1.148 GB, free: 4.695 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.6572, allocations: 57.39 kB / 1.148 GB, free: 4.676 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.6572, allocations: 10.34 kB / 1.148 GB, free: 4.676 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.6573, allocations: 13.16 kB / 1.148 GB, free: 4.672 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 4.339e-05/0.6573, allocations: 31.39 kB / 1.148 GB, free: 4.652 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.6574, allocations: 47.56 kB / 1.148 GB, free: 4.633 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.6576, allocations: 161.5 kB / 1.149 GB, free: 4.57 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6576, allocations: 0.7969 kB / 1.149 GB, free: 4.57 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6576, allocations: 0 / 1.149 GB, free: 4.57 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6576, allocations: 1.062 kB / 1.149 GB, free: 4.57 MB / 1.01 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.0005413/0.6581, allocations: 368.7 kB / 1.149 GB, free: 4.242 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.6582, allocations: 10.7 kB / 1.149 GB, free: 4.242 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.6582, allocations: 45.31 kB / 1.149 GB, free: 4.195 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.6582, allocations: 21.27 kB / 1.149 GB, free: 4.184 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.6585, allocations: 197 kB / 1.149 GB, free: 4.016 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.6585, allocations: 8.734 kB / 1.149 GB, free: 4.012 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.6585, allocations: 7.688 kB / 1.149 GB, free: 4.012 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.6588, allocations: 227 kB / 1.149 GB, free: 3.812 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.6588, allocations: 5.062 kB / 1.149 GB, free: 3.809 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.6588, allocations: 5.312 kB / 1.149 GB, free: 3.805 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.6588, allocations: 4.031 kB / 1.149 GB, free: 3.805 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.6591, allocations: 75.17 kB / 1.15 GB, free: 3.773 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000704/0.6598, allocations: 1.096 MB / 1.151 GB, free: 2.723 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 7.12e-05/0.6598, allocations: 166.6 kB / 1.151 GB, free: 2.551 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.6599, allocations: 80.86 kB / 1.151 GB, free: 2.469 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.6599, allocations: 80.38 kB / 1.151 GB, free: 2.391 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.6599, allocations: 112.7 kB / 1.151 GB, free: 2.273 MB / 1.01 GB Notification: Performance of pre-optimization done (n=0): time 1.994e-06/0.6599, allocations: 0 / 1.151 GB, free: 2.273 MB / 1.01 GB Notification: Performance of matching and sorting (n=0): time 7.653e-05/0.66, allocations: 51.14 kB / 1.151 GB, free: 2.227 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.6601, allocations: 183 kB / 1.151 GB, free: 2.027 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.6603, allocations: 257.4 kB / 1.151 GB, free: 1.879 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.6603, allocations: 26.8 kB / 1.152 GB, free: 1.848 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.6604, allocations: 132 kB / 1.152 GB, free: 1.73 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.6604, allocations: 1.094 kB / 1.152 GB, free: 1.73 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.6604, allocations: 20.42 kB / 1.152 GB, free: 1.711 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.6605, allocations: 328.8 kB / 1.152 GB, free: 1.391 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.6605, allocations: 13.86 kB / 1.152 GB, free: 1.387 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.457e-05/0.6606, allocations: 171.4 kB / 1.152 GB, free: 1.184 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.369e-05/0.6606, allocations: 58.81 kB / 1.152 GB, free: 1.125 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6606, allocations: 1.062 kB / 1.152 GB, free: 1.125 MB / 1.01 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001385/0.6608, allocations: 85.14 kB / 1.152 GB, free: 1.07 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.6608, allocations: 5.219 kB / 1.152 GB, free: 1.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6608, allocations: 6.094 kB / 1.152 GB, free: 1.066 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.6608, allocations: 5.984 kB / 1.152 GB, free: 1.062 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-05/0.6609, allocations: 8.062 kB / 1.152 GB, free: 1.062 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.6609, allocations: 2.422 kB / 1.152 GB, free: 1.062 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.661, allocations: 13.92 kB / 1.152 GB, free: 1.055 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.661, allocations: 3.094 kB / 1.152 GB, free: 1.055 MB / 1.01 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.936e-05/0.6611, allocations: 208.1 kB / 1.153 GB, free: 0.8555 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.6611, allocations: 125.4 kB / 1.153 GB, free: 0.7344 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.6612, allocations: 126.8 kB / 1.153 GB, free: 0.6172 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.504e-05/0.6612, allocations: 183.7 kB / 1.153 GB, free: 444 kB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.851e-05/0.6612, allocations: 182.3 kB / 1.153 GB, free: 256 kB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.98e-05/0.6613, allocations: 182.4 kB / 1.153 GB, free: 68 kB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.6615, allocations: 413.2 kB / 1.154 GB, free: 15.64 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-05/0.6615, allocations: 107.1 kB / 1.154 GB, free: 15.54 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.6615, allocations: 107.1 kB / 1.154 GB, free: 15.43 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.364e-05/0.6616, allocations: 178.4 kB / 1.154 GB, free: 15.25 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.6616, allocations: 182.2 kB / 1.154 GB, free: 15.06 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.26e-05/0.6617, allocations: 181.8 kB / 1.154 GB, free: 14.88 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.141e-05/0.6617, allocations: 177.7 kB / 1.155 GB, free: 14.7 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.6618, allocations: 325.8 kB / 1.155 GB, free: 14.37 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.6619, allocations: 120.8 kB / 1.155 GB, free: 14.25 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.6619, allocations: 192.1 kB / 1.155 GB, free: 14.06 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.662, allocations: 108.3 kB / 1.155 GB, free: 13.95 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.6621, allocations: 182.2 kB / 1.155 GB, free: 13.77 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.6621, allocations: 106.9 kB / 1.156 GB, free: 13.66 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001451/0.6622, allocations: 186 kB / 1.156 GB, free: 13.55 MB / 1.026 GB Notification: Performance of sort global known variables: time 5e-08/0.6622, allocations: 0 / 1.156 GB, free: 13.55 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0001651/0.6624, allocations: 20 kB / 1.156 GB, free: 13.55 MB / 1.026 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.0003029/0.6627, allocations: 0.8182 MB / 1.157 GB, free: 12.73 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 9.11e-05/0.6628, allocations: 21.39 kB / 1.157 GB, free: 12.73 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6628, allocations: 9.188 kB / 1.157 GB, free: 12.72 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.6628, allocations: 0.6094 kB / 1.157 GB, free: 12.72 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.6632, allocations: 0.5019 MB / 1.157 GB, free: 12.26 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.6651, allocations: 2.056 MB / 1.159 GB, free: 10.63 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.792e-05/0.6652, allocations: 99.55 kB / 1.159 GB, free: 10.56 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 8.434e-05/0.6653, allocations: 27.78 kB / 1.159 GB, free: 10.55 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.269e-05/0.6653, allocations: 44.28 kB / 1.159 GB, free: 10.52 MB / 1.026 GB Notification: Performance of SimCode: time 9.92e-07/0.6653, allocations: 0 / 1.159 GB, free: 10.52 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.6867, allocations: 4.781 MB / 1.164 GB, free: 9.367 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.801/7.488, allocations: 4.094 kB / 1.164 GB, free: 9.367 MB / 1.026 GB " [Timeout remaining time 292] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.621660247445107]