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.00147/0.00147, allocations: 108 kB / 15.6 MB, free: 132 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.002007/0.002007, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.511/1.511, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.845/2.845, allocations: 437 MB / 0.7104 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 59.91 kB / 0.8692 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9745/0.9767, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2256/1.202, allocations: 166.1 MB / 1.179 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006538/1.209, allocations: 5.706 MB / 1.185 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003179/1.209, allocations: 7.938 kB / 1.185 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005483/1.21, allocations: 95.31 kB / 1.185 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002674/1.21, allocations: 59.59 kB / 1.185 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/1.21, allocations: 35.97 kB / 1.185 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003624/1.211, allocations: 215.1 kB / 1.185 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/1.211, allocations: 92.64 kB / 1.186 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/1.211, allocations: 103.6 kB / 1.186 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/1.211, allocations: 75.56 kB / 1.186 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/1.211, allocations: 16 kB / 1.186 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.7e-05/1.212, allocations: 8 kB / 1.186 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/1.212, allocations: 27.92 kB / 1.186 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/1.212, allocations: 71.61 kB / 1.186 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/1.212, allocations: 151.5 kB / 1.186 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/1.212, allocations: 0 / 1.186 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.904e-06/1.212, allocations: 0 / 1.186 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.134e-06/1.212, allocations: 0 / 1.186 GB, free: 5.051 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.0008246/1.213, allocations: 450.7 kB / 1.186 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.213, allocations: 12.03 kB / 1.186 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/1.213, allocations: 15.81 kB / 1.186 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/1.213, allocations: 250.4 kB / 1.187 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/1.213, allocations: 8 kB / 1.187 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/1.213, allocations: 12 kB / 1.187 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/1.214, allocations: 170.6 kB / 1.187 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/1.214, allocations: 0 / 1.187 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/1.214, allocations: 7.938 kB / 1.187 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/1.214, allocations: 4 kB / 1.187 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/1.214, allocations: 75.83 kB / 1.187 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/1.215, allocations: 1.148 MB / 1.188 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/1.215, allocations: 173.1 kB / 1.188 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/1.215, allocations: 80.14 kB / 1.188 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/1.215, allocations: 83.22 kB / 1.188 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.748e-05/1.215, allocations: 109.8 kB / 1.188 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/1.215, allocations: 0 / 1.188 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.472e-05/1.215, allocations: 45.5 kB / 1.189 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.215, allocations: 186.1 kB / 1.189 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/1.216, allocations: 245 kB / 1.189 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/1.216, allocations: 25.7 kB / 1.189 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/1.216, allocations: 135.8 kB / 1.189 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/1.216, allocations: 4 kB / 1.189 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/1.216, allocations: 21.62 kB / 1.189 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.216, allocations: 330.8 kB / 1.189 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/1.216, allocations: 8 kB / 1.189 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/1.216, allocations: 71.66 kB / 1.19 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.874e-05/1.216, allocations: 52.23 kB / 1.19 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.216, allocations: 0 / 1.19 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001734/1.216, allocations: 89.36 kB / 1.19 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.216, allocations: 4 kB / 1.19 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/1.216, allocations: 3.938 kB / 1.19 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/1.216, allocations: 4 kB / 1.19 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/1.217, allocations: 8 kB / 1.19 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.217, allocations: 4.156 kB / 1.19 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.781e-05/1.217, allocations: 15.83 kB / 1.19 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/1.217, allocations: 4 kB / 1.19 GB, free: 0.918 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.0001574/1.217, allocations: 201.1 kB / 1.19 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/1.217, allocations: 128.7 kB / 1.19 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.872e-05/1.217, allocations: 113.9 kB / 1.19 GB, free: 476 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-05/1.217, allocations: 184.2 kB / 1.19 GB, free: 284 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.008e-05/1.217, allocations: 188.2 kB / 1.19 GB, free: 88 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001017/1.217, allocations: 176.3 kB / 1.191 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/1.218, allocations: 457.1 kB / 1.191 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.681e-05/1.218, allocations: 108.9 kB / 1.191 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-05/1.218, allocations: 105 kB / 1.191 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.976e-05/1.218, allocations: 184.2 kB / 1.191 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.369e-05/1.218, allocations: 176.3 kB / 1.192 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-05/1.218, allocations: 192.2 kB / 1.192 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.254e-05/1.218, allocations: 180.5 kB / 1.192 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/1.218, allocations: 319.6 kB / 1.192 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/1.219, allocations: 206 kB / 1.192 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/1.219, allocations: 188.2 kB / 1.193 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/1.219, allocations: 101 kB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.753e-05/1.219, allocations: 188.2 kB / 1.193 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.928e-05/1.219, allocations: 105 kB / 1.193 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001901/1.219, allocations: 180.5 kB / 1.193 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/1.219, allocations: 0 / 1.193 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002811/1.219, allocations: 24 kB / 1.193 GB, free: 13.07 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.0001884/1.22, allocations: 174.5 kB / 1.193 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001222/1.22, allocations: 19.94 kB / 1.193 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.22, allocations: 0 / 1.193 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/1.22, allocations: 8.25 kB / 1.193 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/1.221, allocations: 0.4961 MB / 1.194 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005273/1.221, allocations: 339.4 kB / 1.194 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/1.222, allocations: 0.7124 MB / 1.195 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.717e-05/1.222, allocations: 25.53 kB / 1.195 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/1.222, allocations: 15.44 kB / 1.195 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of SimCode: time 3.5e-07/1.222, allocations: 0 / 1.195 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of Templates: time 0.005678/1.227, allocations: 1.945 MB / 1.197 GB, free: 9.312 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=400 -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