Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001529/0.001529, allocations: 111 kB / 16.41 MB, free: 6.027 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.001326/0.001326, allocations: 180.2 kB / 17.34 MB, free: 5.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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 63.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1989/1.208, allocations: 166.1 MB / 1.251 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005132/1.213, allocations: 5.704 MB / 1.256 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/1.214, allocations: 8 kB / 1.256 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003959/1.214, allocations: 99.31 kB / 1.256 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002054/1.214, allocations: 55.61 kB / 1.257 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/1.215, allocations: 39.89 kB / 1.257 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002677/1.215, allocations: 211.1 kB / 1.257 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/1.215, allocations: 95.12 kB / 1.257 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/1.215, allocations: 107.6 kB / 1.257 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/1.215, allocations: 67.59 kB / 1.257 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/1.215, allocations: 8 kB / 1.257 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/1.215, allocations: 12 kB / 1.257 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/1.215, allocations: 35.84 kB / 1.257 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.665e-05/1.216, allocations: 67.67 kB / 1.257 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/1.216, allocations: 157.3 kB / 1.257 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.216, allocations: 0 / 1.257 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/1.216, allocations: 0 / 1.257 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.216, allocations: 4 kB / 1.257 GB, free: 0.9805 MB / 0.9825 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.0005424/1.216, allocations: 434.9 kB / 1.258 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/1.216, allocations: 11.97 kB / 1.258 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/1.216, allocations: 27.73 kB / 1.258 GB, free: 480 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/1.217, allocations: 250.6 kB / 1.258 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/1.217, allocations: 12.23 kB / 1.258 GB, free: 176 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/1.217, allocations: 12 kB / 1.258 GB, free: 164 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/1.217, allocations: 172.7 kB / 1.258 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/1.217, allocations: 7.938 kB / 1.258 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/1.217, allocations: 8 kB / 1.258 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/1.217, allocations: 4 kB / 1.258 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/1.217, allocations: 59.91 kB / 1.258 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007675/1.218, allocations: 1.156 MB / 1.259 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/1.218, allocations: 169.1 kB / 1.26 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/1.218, allocations: 80.14 kB / 1.26 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/1.218, allocations: 87.2 kB / 1.26 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/1.218, allocations: 113.8 kB / 1.26 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/1.218, allocations: 0 / 1.26 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.802e-05/1.218, allocations: 41.52 kB / 1.26 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/1.218, allocations: 182 kB / 1.26 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/1.219, allocations: 249 kB / 1.26 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/1.219, allocations: 33.7 kB / 1.26 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/1.219, allocations: 131.8 kB / 1.26 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/1.219, allocations: 0 / 1.26 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/1.219, allocations: 21.72 kB / 1.26 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.219, allocations: 330.8 kB / 1.261 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/1.219, allocations: 8 kB / 1.261 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.285e-05/1.219, allocations: 67.72 kB / 1.261 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.404e-05/1.219, allocations: 48.22 kB / 1.261 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.219, allocations: 4 kB / 1.261 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001443/1.219, allocations: 89.31 kB / 1.261 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.219, allocations: 8 kB / 1.261 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.219, allocations: 0 / 1.261 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/1.219, allocations: 0 / 1.261 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.945e-05/1.219, allocations: 11.98 kB / 1.261 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.219, allocations: 4 kB / 1.261 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/1.219, allocations: 11.84 kB / 1.261 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/1.219, allocations: 4.156 kB / 1.261 GB, free: 12.85 MB / 0.9981 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.0001205/1.219, allocations: 213 kB / 1.261 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/1.22, allocations: 120.7 kB / 1.261 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.75e-05/1.22, allocations: 125.8 kB / 1.261 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.993e-05/1.22, allocations: 176.3 kB / 1.262 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.117e-05/1.22, allocations: 180.3 kB / 1.262 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.113e-05/1.22, allocations: 192.2 kB / 1.262 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/1.22, allocations: 449.2 kB / 1.262 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.736e-05/1.22, allocations: 112.8 kB / 1.262 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/1.22, allocations: 101 kB / 1.263 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.126e-05/1.22, allocations: 176.3 kB / 1.263 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.86e-05/1.22, allocations: 192.2 kB / 1.263 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.608e-05/1.22, allocations: 176.5 kB / 1.263 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.547e-05/1.22, allocations: 188.2 kB / 1.263 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/1.22, allocations: 311.6 kB / 1.264 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/1.221, allocations: 205.8 kB / 1.264 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-05/1.221, allocations: 180.4 kB / 1.264 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/1.221, allocations: 116.9 kB / 1.264 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/1.221, allocations: 176.3 kB / 1.264 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/1.221, allocations: 109 kB / 1.264 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001529/1.221, allocations: 180.5 kB / 1.265 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.221, allocations: 3.938 kB / 1.265 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002416/1.221, allocations: 23.98 kB / 1.265 GB, free: 9.004 MB / 0.9981 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.0001261/1.221, allocations: 179.1 kB / 1.265 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.965e-05/1.221, allocations: 16 kB / 1.265 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.221, allocations: 3.938 kB / 1.265 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/1.221, allocations: 0 / 1.265 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/1.222, allocations: 0.5142 MB / 1.265 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/1.223, allocations: 345.1 kB / 1.266 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/1.223, allocations: 0.724 MB / 1.266 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/1.223, allocations: 15.44 kB / 1.266 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/1.223, allocations: 0 / 1.266 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of Templates: time 0.003328/1.226, allocations: 2.018 MB / 1.268 GB, free: 5.141 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches