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.001181/0.001181, 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.001249/0.001249, allocations: 196.1 kB / 16.53 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.497/1.497, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.715/2.715, allocations: 437 MB / 0.7103 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.91 kB / 0.8692 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9786/0.98, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2114/1.192, allocations: 166.1 MB / 1.179 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006336/1.198, allocations: 5.706 MB / 1.185 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/1.198, allocations: 7.938 kB / 1.185 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005128/1.199, allocations: 99.31 kB / 1.185 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002575/1.199, allocations: 59.59 kB / 1.185 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000149/1.199, allocations: 31.97 kB / 1.185 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003099/1.2, allocations: 215.1 kB / 1.185 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/1.2, allocations: 86.62 kB / 1.186 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/1.2, allocations: 103.6 kB / 1.186 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/1.2, allocations: 79.56 kB / 1.186 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/1.2, allocations: 8 kB / 1.186 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.806e-05/1.2, allocations: 12 kB / 1.186 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/1.2, allocations: 27.92 kB / 1.186 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.95e-05/1.201, allocations: 71.61 kB / 1.186 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/1.201, allocations: 151.5 kB / 1.186 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.201, allocations: 0 / 1.186 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.344e-06/1.201, allocations: 0 / 1.186 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.863e-06/1.201, allocations: 0 / 1.186 GB, free: 5.148 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.0007379/1.202, allocations: 450.7 kB / 1.186 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/1.202, allocations: 12.03 kB / 1.186 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/1.202, allocations: 19.81 kB / 1.186 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/1.202, allocations: 250.4 kB / 1.187 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/1.202, allocations: 8 kB / 1.187 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/1.202, allocations: 12 kB / 1.187 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/1.202, allocations: 166.6 kB / 1.187 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.202, allocations: 0 / 1.187 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/1.202, allocations: 11.94 kB / 1.187 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/1.202, allocations: 7.938 kB / 1.187 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/1.203, allocations: 71.83 kB / 1.187 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/1.204, allocations: 1.148 MB / 1.188 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/1.204, allocations: 169.1 kB / 1.188 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/1.204, allocations: 84.14 kB / 1.188 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.043e-05/1.204, allocations: 79.22 kB / 1.188 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.708e-05/1.204, allocations: 113.8 kB / 1.188 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 3.547e-06/1.204, allocations: 3.984 kB / 1.188 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001293/1.204, allocations: 49.5 kB / 1.188 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/1.204, allocations: 178.1 kB / 1.189 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/1.205, allocations: 245 kB / 1.189 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/1.205, allocations: 29.7 kB / 1.189 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/1.205, allocations: 131.9 kB / 1.189 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.491e-06/1.205, allocations: 0 / 1.189 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/1.205, allocations: 25.62 kB / 1.189 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002032/1.205, allocations: 334.8 kB / 1.189 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.993e-05/1.205, allocations: 8 kB / 1.189 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.721e-05/1.205, allocations: 67.66 kB / 1.189 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.453e-05/1.205, allocations: 52.23 kB / 1.19 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.205, allocations: 0 / 1.19 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002322/1.206, allocations: 89.3 kB / 1.19 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/1.206, allocations: 8 kB / 1.19 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.206, allocations: 0 / 1.19 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/1.206, allocations: 4.156 kB / 1.19 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.916e-05/1.206, allocations: 8 kB / 1.19 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/1.206, allocations: 4 kB / 1.19 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/1.206, allocations: 15.83 kB / 1.19 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/1.206, allocations: 4 kB / 1.19 GB, free: 1.012 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.0001992/1.206, allocations: 197.1 kB / 1.19 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/1.206, allocations: 128.7 kB / 1.19 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/1.206, allocations: 121.9 kB / 1.19 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001061/1.206, allocations: 184.2 kB / 1.19 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-05/1.207, allocations: 184.2 kB / 1.19 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.951e-05/1.207, allocations: 176.3 kB / 1.191 GB, free: 0 / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/1.207, allocations: 457.1 kB / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.179e-05/1.207, allocations: 108.9 kB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/1.207, allocations: 108.9 kB / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-05/1.207, allocations: 180.3 kB / 1.191 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/1.207, allocations: 184.4 kB / 1.192 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.669e-05/1.208, allocations: 184.2 kB / 1.192 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000103/1.208, allocations: 176.5 kB / 1.192 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/1.208, allocations: 331.5 kB / 1.192 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/1.208, allocations: 197.8 kB / 1.192 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/1.208, allocations: 184.2 kB / 1.193 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/1.208, allocations: 101 kB / 1.193 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.209, allocations: 184.2 kB / 1.193 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.608e-05/1.209, allocations: 109 kB / 1.193 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002122/1.209, allocations: 180.5 kB / 1.193 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.209, allocations: 0 / 1.193 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000314/1.209, allocations: 24 kB / 1.193 GB, free: 13.17 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.0002589/1.209, allocations: 174.5 kB / 1.193 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000136/1.21, allocations: 20.19 kB / 1.193 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.21, allocations: 4.062 kB / 1.193 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/1.21, allocations: 0 / 1.193 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008356/1.21, allocations: 0.5038 MB / 1.194 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007975/1.211, allocations: 339.4 kB / 1.194 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/1.212, allocations: 0.7085 MB / 1.195 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001066/1.212, allocations: 29.56 kB / 1.195 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/1.212, allocations: 15.44 kB / 1.195 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of SimCode: time 6.51e-07/1.212, allocations: 0 / 1.195 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of Templates: time 0.005681/1.218, allocations: 1.946 MB / 1.197 GB, free: 9.406 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