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.001173/0.001173, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001412/0.001412, allocations: 192.3 kB / 16.25 MB, free: 6.637 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 59.02 kB / 0.8986 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3952, allocations: 157.4 MB / 1.052 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1821/0.5773, allocations: 163.9 MB / 1.212 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005795/0.5832, allocations: 5.646 MB / 1.218 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.5835, allocations: 11.94 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.5839, allocations: 87.48 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.5842, allocations: 47.69 kB / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.5843, allocations: 27.97 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000288/0.5846, allocations: 215.1 kB / 1.218 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.5849, allocations: 94.62 kB / 1.218 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.5851, allocations: 107.6 kB / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.5852, allocations: 75.58 kB / 1.218 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.5853, allocations: 8 kB / 1.218 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.591e-05/0.5853, allocations: 12 kB / 1.218 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.064e-05/0.5854, allocations: 27.91 kB / 1.218 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.971e-05/0.5854, allocations: 71.62 kB / 1.219 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.5856, allocations: 147.5 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5857, allocations: 4 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5857, allocations: 0 / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5857, allocations: 0 / 1.219 GB, free: 13.7 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.0006353/0.5863, allocations: 450.7 kB / 1.219 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5864, allocations: 8.625 kB / 1.219 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.78e-05/0.5864, allocations: 19.81 kB / 1.219 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.5867, allocations: 238.6 kB / 1.219 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.5868, allocations: 8 kB / 1.219 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.5868, allocations: 12 kB / 1.219 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.5871, allocations: 177.1 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.5871, allocations: 0 / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.5871, allocations: 8 kB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.5871, allocations: 4 kB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.5873, allocations: 71.83 kB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000922/0.5882, allocations: 1.152 MB / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.16e-05/0.5883, allocations: 173.1 kB / 1.221 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.5884, allocations: 88.08 kB / 1.221 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.5884, allocations: 79.22 kB / 1.221 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.5885, allocations: 109.8 kB / 1.221 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.113e-06/0.5885, allocations: 0 / 1.221 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.731e-05/0.5886, allocations: 45.52 kB / 1.221 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.787e-05/0.5887, allocations: 178.1 kB / 1.221 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.5889, allocations: 252.9 kB / 1.222 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.589, allocations: 29.7 kB / 1.222 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.5891, allocations: 131.9 kB / 1.222 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.5891, allocations: 0 / 1.222 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.5891, allocations: 25.7 kB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5892, allocations: 326.8 kB / 1.222 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.5893, allocations: 12 kB / 1.222 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.333e-05/0.5893, allocations: 67.66 kB / 1.222 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.59e-05/0.5894, allocations: 56.22 kB / 1.222 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.5894, allocations: 0 / 1.222 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001528/0.5896, allocations: 85.31 kB / 1.222 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5896, allocations: 8 kB / 1.222 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5896, allocations: 0 / 1.222 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.5896, allocations: 4.141 kB / 1.222 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.5897, allocations: 12 kB / 1.222 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.5897, allocations: 4 kB / 1.222 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.791e-05/0.5898, allocations: 11.84 kB / 1.222 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.5898, allocations: 4 kB / 1.222 GB, free: 9.57 MB / 0.9825 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.0001416/0.5899, allocations: 206.6 kB / 1.223 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.59, allocations: 124.7 kB / 1.223 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.819e-05/0.5901, allocations: 121.8 kB / 1.223 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.816e-05/0.5902, allocations: 188.2 kB / 1.223 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.21e-05/0.5903, allocations: 180.3 kB / 1.223 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.819e-05/0.5903, allocations: 180.2 kB / 1.223 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.5906, allocations: 453.1 kB / 1.224 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.152e-05/0.5907, allocations: 104.9 kB / 1.224 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.5907, allocations: 109 kB / 1.224 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.407e-05/0.5908, allocations: 184.2 kB / 1.224 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.633e-05/0.5909, allocations: 180.3 kB / 1.224 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.287e-05/0.591, allocations: 188.2 kB / 1.225 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.107e-05/0.5911, allocations: 176.3 kB / 1.225 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.5912, allocations: 327.6 kB / 1.225 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.455e-05/0.5913, allocations: 198 kB / 1.225 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.442e-05/0.5914, allocations: 180.2 kB / 1.225 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.5915, allocations: 109 kB / 1.225 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.5916, allocations: 184.2 kB / 1.226 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.5917, allocations: 105 kB / 1.226 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001639/0.5918, allocations: 184.5 kB / 1.226 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5918, allocations: 0 / 1.226 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002574/0.5921, allocations: 24 kB / 1.226 GB, free: 5.727 MB / 0.9825 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.0001379/0.5922, allocations: 170.5 kB / 1.226 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.5923, allocations: 27.86 kB / 1.226 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5924, allocations: 320 / 1.226 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.5924, allocations: 4 kB / 1.226 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/0.593, allocations: 0.5084 MB / 1.227 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.5935, allocations: 347.5 kB / 1.227 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.5938, allocations: 0.7163 MB / 1.228 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.805e-05/0.5938, allocations: 25.58 kB / 1.228 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.5939, allocations: 11.44 kB / 1.228 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.5939, allocations: 4 kB / 1.228 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of Templates: time 0.004701/0.5986, allocations: 1.922 MB / 1.23 GB, free: 1.953 MB / 0.9825 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/jenkins/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