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: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001424/0.001424, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 65.92 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3999, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1889/0.5888, allocations: 163.9 MB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005422/0.5943, allocations: 5.654 MB / 1.233 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.5946, allocations: 15.94 kB / 1.233 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.595, allocations: 75.52 kB / 1.233 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.5953, allocations: 51.67 kB / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.5954, allocations: 27.98 kB / 1.233 GB, free: 500 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.5958, allocations: 219.1 kB / 1.234 GB, free: 280 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.596, allocations: 92.2 kB / 1.234 GB, free: 192 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.5962, allocations: 99.64 kB / 1.234 GB, free: 92 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.5964, allocations: 79.56 kB / 1.234 GB, free: 12 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.5964, allocations: 8 kB / 1.234 GB, free: 4 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.053e-05/0.5964, allocations: 12.05 kB / 1.234 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.5965, allocations: 23.88 kB / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.665e-05/0.5966, allocations: 75.61 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.5968, allocations: 147.5 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.5968, allocations: 4 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.546e-06/0.5968, allocations: 0 / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.5968, allocations: 0 / 1.234 GB, free: 15.75 MB / 0.9981 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.0006544/0.5975, allocations: 450.7 kB / 1.235 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.5975, allocations: 8.031 kB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.5976, allocations: 19.81 kB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.5979, allocations: 238.6 kB / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.5979, allocations: 12 kB / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.598, allocations: 12 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.5983, allocations: 172.4 kB / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5983, allocations: 0 / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.5983, allocations: 8 kB / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.5983, allocations: 4 kB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.5984, allocations: 71.83 kB / 1.235 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008633/0.5993, allocations: 1.148 MB / 1.236 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.825e-05/0.5994, allocations: 177.1 kB / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.5995, allocations: 80.14 kB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.5995, allocations: 79.22 kB / 1.237 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.992e-05/0.5996, allocations: 109.8 kB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 2.986e-06/0.5996, allocations: 3.984 kB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.967e-05/0.5997, allocations: 53.44 kB / 1.237 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.5998, allocations: 178.1 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.6001, allocations: 248.9 kB / 1.237 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.6001, allocations: 29.7 kB / 1.237 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.6002, allocations: 127.9 kB / 1.237 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-06/0.6002, allocations: 0 / 1.237 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.6003, allocations: 21.72 kB / 1.237 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.6004, allocations: 334.8 kB / 1.238 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.6004, allocations: 8 kB / 1.238 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-05/0.6005, allocations: 67.66 kB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.6005, allocations: 56.27 kB / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6005, allocations: 0 / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001594/0.6007, allocations: 85.36 kB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.6007, allocations: 8 kB / 1.238 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.6007, allocations: 160 / 1.238 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6007, allocations: 4 kB / 1.238 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.6008, allocations: 11.94 kB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.6008, allocations: 4 kB / 1.238 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/0.6009, allocations: 15.83 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.6009, allocations: 4 kB / 1.238 GB, free: 11.61 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.0001311/0.6011, allocations: 201.1 kB / 1.238 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.6011, allocations: 136.6 kB / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.6012, allocations: 117.9 kB / 1.238 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-05/0.6013, allocations: 184.2 kB / 1.238 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.64e-05/0.6013, allocations: 184.2 kB / 1.239 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.52e-05/0.6014, allocations: 176.3 kB / 1.239 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.6017, allocations: 453.1 kB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/0.6017, allocations: 104.9 kB / 1.239 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.6017, allocations: 105.1 kB / 1.239 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.387e-05/0.6018, allocations: 184.2 kB / 1.24 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.534e-05/0.6019, allocations: 184.3 kB / 1.24 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.015e-05/0.6019, allocations: 184.2 kB / 1.24 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.143e-05/0.602, allocations: 176.5 kB / 1.24 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.6022, allocations: 327.6 kB / 1.24 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-05/0.6023, allocations: 201.8 kB / 1.241 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.6024, allocations: 180.2 kB / 1.241 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.6025, allocations: 108.9 kB / 1.241 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.6025, allocations: 180.3 kB / 1.241 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.6026, allocations: 112.9 kB / 1.241 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001632/0.6028, allocations: 184.5 kB / 1.241 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.6028, allocations: 0 / 1.241 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002326/0.603, allocations: 20 kB / 1.241 GB, free: 7.766 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.0001432/0.6031, allocations: 174.5 kB / 1.242 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.792e-05/0.6032, allocations: 20.19 kB / 1.242 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6033, allocations: 4.062 kB / 1.242 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.6033, allocations: 0 / 1.242 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006198/0.6039, allocations: 0.5038 MB / 1.242 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.6044, allocations: 359.3 kB / 1.242 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.6047, allocations: 0.7124 MB / 1.243 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.872e-05/0.6047, allocations: 29.56 kB / 1.243 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.6048, allocations: 11.44 kB / 1.243 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.6048, allocations: 4 kB / 1.243 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of Templates: time 0.004573/0.6094, allocations: 1.932 MB / 1.245 GB, free: 3.984 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (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 & ./Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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