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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00121/0.00121, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001464/0.001465, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.868/2.868, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.000395, allocations: 11.98 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8443/0.8447, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1796/1.024, allocations: 150.9 MB / 1.17 GB, free: 8.766 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005377/1.03, allocations: 5.255 MB / 1.175 GB, free: 3.5 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/1.03, allocations: 7.938 kB / 1.175 GB, free: 3.492 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003907/1.03, allocations: 67.52 kB / 1.175 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002037/1.031, allocations: 55.66 kB / 1.175 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/1.031, allocations: 31.91 kB / 1.175 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002863/1.031, allocations: 215.2 kB / 1.175 GB, free: 3.129 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/1.031, allocations: 78.92 kB / 1.175 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/1.032, allocations: 79.64 kB / 1.175 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/1.032, allocations: 51.72 kB / 1.175 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/1.032, allocations: 4 kB / 1.175 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.699e-05/1.032, allocations: 0 / 1.175 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/1.032, allocations: 23.86 kB / 1.175 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.258e-05/1.032, allocations: 49.64 kB / 1.176 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/1.032, allocations: 119.6 kB / 1.176 GB, free: 2.719 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.032, allocations: 0 / 1.176 GB, free: 2.719 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/1.032, allocations: 4 kB / 1.176 GB, free: 2.715 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.7e-06/1.032, allocations: 0 / 1.176 GB, free: 2.715 MB / 0.92 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.0005889/1.033, allocations: 410.8 kB / 1.176 GB, free: 2.266 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.033, allocations: 12.03 kB / 1.176 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/1.033, allocations: 19.81 kB / 1.176 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/1.033, allocations: 252.1 kB / 1.176 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/1.033, allocations: 8 kB / 1.176 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/1.033, allocations: 12 kB / 1.176 GB, free: 1.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/1.033, allocations: 165.6 kB / 1.176 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.033, allocations: 0 / 1.176 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/1.033, allocations: 4 kB / 1.176 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.033, allocations: 4 kB / 1.176 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/1.034, allocations: 71.83 kB / 1.177 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000935/1.035, allocations: 1.156 MB / 1.178 GB, free: 436 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.79e-05/1.035, allocations: 169.1 kB / 1.178 GB, free: 256 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/1.035, allocations: 80.14 kB / 1.178 GB, free: 172 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/1.035, allocations: 79.22 kB / 1.178 GB, free: 92 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/1.035, allocations: 113.8 kB / 1.178 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/1.035, allocations: 0 / 1.178 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.342e-05/1.035, allocations: 45.5 kB / 1.178 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/1.035, allocations: 186.1 kB / 1.178 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/1.035, allocations: 245 kB / 1.179 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/1.035, allocations: 25.7 kB / 1.179 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/1.035, allocations: 135.9 kB / 1.179 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/1.035, allocations: 0 / 1.179 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/1.035, allocations: 4 kB / 1.179 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.036, allocations: 326.8 kB / 1.179 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/1.036, allocations: 11.98 kB / 1.179 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.108e-05/1.036, allocations: 67.66 kB / 1.179 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/1.036, allocations: 20 kB / 1.179 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.036, allocations: 0 / 1.179 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000163/1.036, allocations: 85.36 kB / 1.179 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.036, allocations: 8 kB / 1.179 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.036, allocations: 0 / 1.179 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/1.036, allocations: 4.156 kB / 1.179 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/1.036, allocations: 8 kB / 1.179 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/1.036, allocations: 4 kB / 1.179 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/1.036, allocations: 19.7 kB / 1.179 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/1.036, allocations: 4 kB / 1.179 GB, free: 14.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001381/1.036, allocations: 217 kB / 1.179 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/1.036, allocations: 116.8 kB / 1.18 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/1.036, allocations: 121.8 kB / 1.18 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.999e-05/1.037, allocations: 184.2 kB / 1.18 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.427e-05/1.037, allocations: 180.3 kB / 1.18 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.492e-05/1.037, allocations: 184.2 kB / 1.18 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/1.037, allocations: 449.1 kB / 1.181 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.383e-05/1.037, allocations: 101 kB / 1.181 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/1.037, allocations: 112.9 kB / 1.181 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.209e-05/1.037, allocations: 180.3 kB / 1.181 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.286e-05/1.037, allocations: 188.2 kB / 1.181 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.59e-05/1.037, allocations: 176.3 kB / 1.181 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-05/1.037, allocations: 176.3 kB / 1.182 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/1.038, allocations: 335.6 kB / 1.182 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/1.038, allocations: 193.8 kB / 1.182 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/1.038, allocations: 192.5 kB / 1.182 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/1.038, allocations: 101 kB / 1.182 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/1.038, allocations: 180.2 kB / 1.182 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/1.038, allocations: 109.1 kB / 1.183 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001718/1.038, allocations: 188.5 kB / 1.183 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.038, allocations: 0 / 1.183 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002428/1.039, allocations: 20 kB / 1.183 GB, free: 10.86 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000149/1.039, allocations: 170.5 kB / 1.183 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.849e-05/1.039, allocations: 23.92 kB / 1.183 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.046e-06/1.039, allocations: 8.312 kB / 1.183 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/1.039, allocations: 0 / 1.183 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006334/1.039, allocations: 0.5793 MB / 1.184 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000498/1.04, allocations: 343.5 kB / 1.184 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/1.04, allocations: 0.7205 MB / 1.185 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.235e-05/1.04, allocations: 21.55 kB / 1.185 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/1.04, allocations: 15.44 kB / 1.185 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/1.04, allocations: 0 / 1.185 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of Templates: time 0.004831/1.045, allocations: 1.782 MB / 1.186 GB, free: 7.16 MB / 0.9356 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