Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_10_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_10_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.006738/0.006738, allocations: 97.97 kB / 15.73 MB, free: 6.004 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.001244/0.001244, allocations: 192.4 kB / 16.67 MB, free: 5.934 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.469/1.469, 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 10.1.1-maint.10.0.x/package.mo): time 2.832/2.832, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.89 kB / 1.019 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3844, allocations: 151.6 MB / 1.167 GB, free: 6.945 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 1.205/1.589, allocations: 166.1 MB / 1.329 GB, free: 4.418 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007643/1.597, allocations: 5.703 MB / 1.334 GB, free: 312 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005069/1.598, allocations: 9.406 kB / 1.334 GB, free: 308 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006743/1.598, allocations: 99.67 kB / 1.334 GB, free: 236 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003456/1.599, allocations: 54.33 kB / 1.335 GB, free: 200 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/1.599, allocations: 32.56 kB / 1.335 GB, free: 184 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004279/1.599, allocations: 219.8 kB / 1.335 GB, free: 76 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/1.6, allocations: 95.66 kB / 1.335 GB, free: 28 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/1.6, allocations: 99.05 kB / 1.335 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/1.6, allocations: 79.45 kB / 1.335 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/1.6, allocations: 9.094 kB / 1.335 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.242e-05/1.6, allocations: 9.75 kB / 1.335 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.709e-05/1.6, allocations: 31.11 kB / 1.335 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.899e-05/1.6, allocations: 67.52 kB / 1.335 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/1.601, allocations: 161.5 kB / 1.335 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.601, allocations: 4 kB / 1.335 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.323e-06/1.601, allocations: 0 / 1.335 GB, free: 15.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.243e-06/1.601, allocations: 1.094 kB / 1.335 GB, free: 15.82 MB / 1.029 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.0008744/1.602, allocations: 448 kB / 1.336 GB, free: 15.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/1.602, allocations: 9.594 kB / 1.336 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.615e-05/1.602, allocations: 16.66 kB / 1.336 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/1.602, allocations: 273.4 kB / 1.336 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/1.602, allocations: 9.094 kB / 1.336 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/1.602, allocations: 11.75 kB / 1.336 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/1.603, allocations: 169 kB / 1.336 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/1.603, allocations: 1.031 kB / 1.336 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/1.603, allocations: 5.688 kB / 1.336 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/1.603, allocations: 4.156 kB / 1.336 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/1.603, allocations: 66.75 kB / 1.336 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/1.604, allocations: 1.15 MB / 1.337 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/1.604, allocations: 169.1 kB / 1.338 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/1.604, allocations: 81.61 kB / 1.338 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/1.604, allocations: 79.22 kB / 1.338 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.063e-05/1.604, allocations: 111.1 kB / 1.338 GB, free: 13.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.604, allocations: 0 / 1.338 GB, free: 13.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001169/1.605, allocations: 45.98 kB / 1.338 GB, free: 13.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/1.605, allocations: 186.2 kB / 1.338 GB, free: 13.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/1.605, allocations: 255.3 kB / 1.338 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/1.605, allocations: 27.14 kB / 1.338 GB, free: 12.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/1.605, allocations: 128 kB / 1.338 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/1.605, allocations: 5.484 kB / 1.338 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/1.605, allocations: 19.91 kB / 1.338 GB, free: 12.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.605, allocations: 327.3 kB / 1.339 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/1.606, allocations: 7.344 kB / 1.339 GB, free: 12.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.773e-05/1.606, allocations: 74.66 kB / 1.339 GB, free: 12.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.761e-05/1.606, allocations: 49.81 kB / 1.339 GB, free: 12.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/1.606, allocations: 4.625 kB / 1.339 GB, free: 12.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002/1.606, allocations: 93.45 kB / 1.339 GB, free: 12.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.606, allocations: 4.906 kB / 1.339 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.606, allocations: 1.281 kB / 1.339 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.606, allocations: 2.438 kB / 1.339 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/1.606, allocations: 7.125 kB / 1.339 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.606, allocations: 11.73 kB / 1.339 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.494e-05/1.606, allocations: 16.89 kB / 1.339 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/1.606, allocations: 2.75 kB / 1.339 GB, free: 12.31 MB / 1.029 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.0001575/1.606, allocations: 207.7 kB / 1.339 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.758e-05/1.606, allocations: 124.2 kB / 1.339 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.721e-05/1.607, allocations: 121.7 kB / 1.339 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-05/1.607, allocations: 181.6 kB / 1.34 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.129e-05/1.607, allocations: 189.9 kB / 1.34 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.747e-05/1.607, allocations: 179.2 kB / 1.34 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/1.607, allocations: 455.5 kB / 1.34 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.036e-05/1.607, allocations: 104.9 kB / 1.341 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/1.607, allocations: 109.8 kB / 1.341 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.289e-05/1.607, allocations: 183.9 kB / 1.341 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-05/1.607, allocations: 177.6 kB / 1.341 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.367e-05/1.607, allocations: 181.7 kB / 1.341 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.477e-05/1.607, allocations: 176.3 kB / 1.341 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/1.608, allocations: 326 kB / 1.342 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/1.608, allocations: 201.8 kB / 1.342 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/1.608, allocations: 181.6 kB / 1.342 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/1.608, allocations: 102.5 kB / 1.342 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/1.608, allocations: 184.2 kB / 1.342 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/1.608, allocations: 102.5 kB / 1.342 GB, free: 8.781 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001933/1.608, allocations: 187.3 kB / 1.343 GB, free: 8.668 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.608, allocations: 0 / 1.343 GB, free: 8.668 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002655/1.609, allocations: 23.77 kB / 1.343 GB, free: 8.664 MB / 1.029 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.0001682/1.609, allocations: 174 kB / 1.343 GB, free: 8.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000109/1.609, allocations: 26.2 kB / 1.343 GB, free: 8.488 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.609, allocations: 0 / 1.343 GB, free: 8.488 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.384e-06/1.609, allocations: 1.281 kB / 1.343 GB, free: 8.488 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/1.61, allocations: 0.5091 MB / 1.343 GB, free: 8.012 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/1.61, allocations: 324 kB / 1.344 GB, free: 7.754 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/1.611, allocations: 0.7186 MB / 1.344 GB, free: 7.055 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.156e-05/1.611, allocations: 21.67 kB / 1.344 GB, free: 7.051 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/1.611, allocations: 15.88 kB / 1.344 GB, free: 7.043 MB / 1.029 GB Notification: Performance of SimCode: time 2.1e-07/1.611, allocations: 0 / 1.344 GB, free: 7.043 MB / 1.029 GB Notification: Performance of Templates: time 0.005437/1.616, allocations: 1.976 MB / 1.346 GB, free: 6.879 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches