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.001176/0.001177, 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.001463/0.001463, allocations: 192.2 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.482/1.482, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.695/2.695, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 59.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8699/0.872, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1953/1.067, allocations: 163.9 MB / 1.177 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00702/1.074, allocations: 5.648 MB / 1.182 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003563/1.075, allocations: 8 kB / 1.182 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004987/1.075, allocations: 83.5 kB / 1.182 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002984/1.076, allocations: 47.67 kB / 1.182 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/1.076, allocations: 27.98 kB / 1.182 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003837/1.076, allocations: 215.1 kB / 1.183 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/1.077, allocations: 98.61 kB / 1.183 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/1.077, allocations: 99.58 kB / 1.183 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/1.077, allocations: 75.62 kB / 1.183 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/1.077, allocations: 8 kB / 1.183 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.215e-05/1.077, allocations: 12 kB / 1.183 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/1.077, allocations: 23.92 kB / 1.183 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/1.077, allocations: 79.61 kB / 1.183 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/1.077, allocations: 151.5 kB / 1.183 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.077, allocations: 0 / 1.183 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/1.078, allocations: 0 / 1.183 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.218e-06/1.078, allocations: 4 kB / 1.183 GB, free: 7.66 MB / 0.9356 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.0007378/1.078, allocations: 442.7 kB / 1.184 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.078, allocations: 8.031 kB / 1.184 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/1.078, allocations: 19.81 kB / 1.184 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/1.079, allocations: 254.4 kB / 1.184 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/1.079, allocations: 8 kB / 1.184 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/1.079, allocations: 12 kB / 1.184 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/1.079, allocations: 165.6 kB / 1.184 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/1.079, allocations: 0 / 1.184 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/1.079, allocations: 12 kB / 1.184 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.079, allocations: 7.938 kB / 1.184 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/1.079, allocations: 67.83 kB / 1.184 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/1.08, allocations: 1.16 MB / 1.185 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.317e-05/1.081, allocations: 173.1 kB / 1.185 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/1.081, allocations: 80.14 kB / 1.186 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/1.081, allocations: 79.22 kB / 1.186 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/1.081, allocations: 113.8 kB / 1.186 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/1.081, allocations: 4 kB / 1.186 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001044/1.081, allocations: 41.52 kB / 1.186 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.739e-05/1.081, allocations: 182.1 kB / 1.186 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/1.081, allocations: 249 kB / 1.186 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/1.081, allocations: 29.7 kB / 1.186 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.602e-05/1.081, allocations: 135.8 kB / 1.186 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-06/1.081, allocations: 0 / 1.186 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/1.081, allocations: 25.62 kB / 1.186 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.082, allocations: 330.8 kB / 1.187 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/1.082, allocations: 11.98 kB / 1.187 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/1.082, allocations: 63.72 kB / 1.187 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.785e-05/1.082, allocations: 52.23 kB / 1.187 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.082, allocations: 0 / 1.187 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000173/1.082, allocations: 89.3 kB / 1.187 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.082, allocations: 8.156 kB / 1.187 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.082, allocations: 4 kB / 1.187 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/1.082, allocations: 0 / 1.187 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/1.082, allocations: 8 kB / 1.187 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/1.082, allocations: 4 kB / 1.187 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.643e-05/1.082, allocations: 11.84 kB / 1.187 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/1.082, allocations: 4 kB / 1.187 GB, free: 3.527 MB / 0.9356 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.0001345/1.082, allocations: 205 kB / 1.187 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.165e-05/1.082, allocations: 120.7 kB / 1.187 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/1.082, allocations: 125.8 kB / 1.187 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.617e-05/1.083, allocations: 180.2 kB / 1.188 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001329/1.083, allocations: 188.2 kB / 1.188 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.76e-05/1.083, allocations: 180.2 kB / 1.188 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/1.083, allocations: 449.2 kB / 1.188 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-05/1.083, allocations: 109 kB / 1.188 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/1.083, allocations: 112.9 kB / 1.189 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.935e-05/1.083, allocations: 180.3 kB / 1.189 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/1.083, allocations: 180.2 kB / 1.189 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.072e-05/1.083, allocations: 184.3 kB / 1.189 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.147e-05/1.084, allocations: 184.3 kB / 1.189 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/1.084, allocations: 315.6 kB / 1.189 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/1.084, allocations: 209.8 kB / 1.19 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.996e-05/1.084, allocations: 180.3 kB / 1.19 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/1.084, allocations: 101 kB / 1.19 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.717e-05/1.084, allocations: 184.3 kB / 1.19 GB, free: 16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/1.084, allocations: 105 kB / 1.19 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001828/1.084, allocations: 184.5 kB / 1.19 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.084, allocations: 0 / 1.19 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002506/1.085, allocations: 24 kB / 1.19 GB, free: 15.68 MB / 0.9512 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.00014/1.085, allocations: 174.5 kB / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.579e-05/1.085, allocations: 31.92 kB / 1.191 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.085, allocations: 0 / 1.191 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.426e-06/1.085, allocations: 3.938 kB / 1.191 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/1.086, allocations: 0.507 MB / 1.191 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/1.086, allocations: 355.4 kB / 1.191 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/1.086, allocations: 0.7124 MB / 1.192 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.522e-05/1.087, allocations: 25.53 kB / 1.192 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/1.087, allocations: 15.44 kB / 1.192 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/1.087, allocations: 0 / 1.192 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of Templates: time 0.005285/1.092, allocations: 1.933 MB / 1.194 GB, free: 11.91 MB / 0.9512 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