Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001688/0.001688, allocations: 104.9 kB / 16.27 MB, free: 5.863 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.001868/0.001869, allocations: 186.9 kB / 17.19 MB, free: 5.512 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.633/1.633, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.743/2.743, allocations: 469.4 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 60.94 kB / 0.9088 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.338, allocations: 159.1 MB / 1.064 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.7425/1.081, allocations: 166.1 MB / 1.226 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005577/1.086, allocations: 5.694 MB / 1.232 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002814/1.086, allocations: 8.594 kB / 1.232 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004256/1.087, allocations: 100.3 kB / 1.232 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002127/1.087, allocations: 55.62 kB / 1.232 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/1.087, allocations: 33.14 kB / 1.232 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002745/1.088, allocations: 217.8 kB / 1.232 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/1.088, allocations: 92.56 kB / 1.232 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/1.088, allocations: 108.2 kB / 1.233 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/1.088, allocations: 69.94 kB / 1.233 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/1.088, allocations: 7.844 kB / 1.233 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.41e-05/1.088, allocations: 11.16 kB / 1.233 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/1.088, allocations: 30.62 kB / 1.233 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.615e-05/1.088, allocations: 71.36 kB / 1.233 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/1.089, allocations: 151.8 kB / 1.233 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.089, allocations: 0 / 1.233 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.302e-06/1.089, allocations: 7.938 kB / 1.233 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.089, allocations: 0 / 1.233 GB, free: 11.5 MB / 0.9512 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.0005929/1.089, allocations: 446.5 kB / 1.233 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/1.089, allocations: 8.438 kB / 1.233 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/1.089, allocations: 23.19 kB / 1.233 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/1.09, allocations: 238.6 kB / 1.234 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/1.09, allocations: 12.95 kB / 1.234 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/1.09, allocations: 11.72 kB / 1.234 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/1.09, allocations: 174.1 kB / 1.234 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.09, allocations: 2.688 kB / 1.234 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/1.09, allocations: 7.938 kB / 1.234 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/1.09, allocations: 4.938 kB / 1.234 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/1.09, allocations: 62.19 kB / 1.234 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008582/1.091, allocations: 1.158 MB / 1.235 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.822e-05/1.091, allocations: 173.1 kB / 1.235 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/1.091, allocations: 80.14 kB / 1.235 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/1.091, allocations: 75.28 kB / 1.235 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/1.091, allocations: 120.2 kB / 1.235 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/1.091, allocations: 0 / 1.235 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.154e-05/1.091, allocations: 42.45 kB / 1.235 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/1.091, allocations: 182 kB / 1.236 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/1.092, allocations: 251.5 kB / 1.236 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/1.092, allocations: 25.7 kB / 1.236 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/1.092, allocations: 134.4 kB / 1.236 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/1.092, allocations: 0 / 1.236 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/1.092, allocations: 28.64 kB / 1.236 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.092, allocations: 325.2 kB / 1.236 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/1.092, allocations: 5.312 kB / 1.236 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.673e-05/1.092, allocations: 68.16 kB / 1.236 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.68e-05/1.092, allocations: 49.91 kB / 1.236 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/1.092, allocations: 1.625 kB / 1.236 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001705/1.092, allocations: 88.41 kB / 1.237 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.092, allocations: 8.719 kB / 1.237 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.092, allocations: 2.781 kB / 1.237 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/1.092, allocations: 0 / 1.237 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/1.092, allocations: 16.17 kB / 1.237 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/1.092, allocations: 0 / 1.237 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.816e-05/1.092, allocations: 17.09 kB / 1.237 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/1.092, allocations: 2.938 kB / 1.237 GB, free: 7.84 MB / 0.9512 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.0001284/1.093, allocations: 208.7 kB / 1.237 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.752e-05/1.093, allocations: 126.3 kB / 1.237 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/1.093, allocations: 126.7 kB / 1.237 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.736e-05/1.093, allocations: 178.8 kB / 1.237 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.709e-05/1.093, allocations: 176.3 kB / 1.237 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.989e-05/1.093, allocations: 188.4 kB / 1.238 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/1.093, allocations: 462.5 kB / 1.238 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/1.093, allocations: 104.9 kB / 1.238 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/1.093, allocations: 107.8 kB / 1.238 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.146e-05/1.093, allocations: 180.2 kB / 1.238 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.692e-05/1.093, allocations: 180.2 kB / 1.239 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.577e-05/1.093, allocations: 179.2 kB / 1.239 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.878e-05/1.093, allocations: 185.8 kB / 1.239 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/1.094, allocations: 318.9 kB / 1.239 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-05/1.094, allocations: 200.3 kB / 1.239 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/1.094, allocations: 181.2 kB / 1.24 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/1.094, allocations: 110.8 kB / 1.24 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/1.094, allocations: 182.2 kB / 1.24 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/1.094, allocations: 101 kB / 1.24 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001561/1.094, allocations: 188.9 kB / 1.24 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.783e-06/1.094, allocations: 0 / 1.24 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002404/1.094, allocations: 23.09 kB / 1.24 GB, free: 4.145 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.0001242/1.095, allocations: 173.1 kB / 1.24 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.19e-05/1.095, allocations: 20.98 kB / 1.24 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.095, allocations: 0 / 1.24 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.417e-06/1.095, allocations: 3.938 kB / 1.24 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/1.095, allocations: 0.5043 MB / 1.241 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/1.096, allocations: 358.1 kB / 1.241 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/1.096, allocations: 0.7142 MB / 1.242 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/1.096, allocations: 19.47 kB / 1.242 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/1.096, allocations: 0 / 1.242 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of Templates: time 0.003775/1.1, allocations: 2.003 MB / 1.244 GB, free: 0.6094 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches