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.0008602/0.0008602, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005664/0.005664, allocations: 169.6 kB / 16.27 MB, free: 6.648 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.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.929/2.929, allocations: 462.7 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.000408, allocations: 9.031 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4055, allocations: 159.6 MB / 1.059 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2004/0.606, allocations: 161.8 MB / 1.217 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006226/0.6123, allocations: 5.619 MB / 1.222 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.6126, allocations: 7.938 kB / 1.222 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000418/0.613, allocations: 75.52 kB / 1.222 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.6133, allocations: 63.66 kB / 1.222 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.6134, allocations: 23.97 kB / 1.222 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.6138, allocations: 259 kB / 1.223 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.6141, allocations: 87.19 kB / 1.223 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.6143, allocations: 83.64 kB / 1.223 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.6144, allocations: 67.58 kB / 1.223 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.6145, allocations: 0 / 1.223 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.6145, allocations: 4 kB / 1.223 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.6145, allocations: 19.92 kB / 1.223 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.029e-05/0.6146, allocations: 81.33 kB / 1.223 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.6148, allocations: 143.4 kB / 1.223 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6148, allocations: 0 / 1.223 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6148, allocations: 0 / 1.223 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.6148, allocations: 3.938 kB / 1.223 GB, free: 12.61 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.0006116/0.6155, allocations: 422.8 kB / 1.223 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.6155, allocations: 8.031 kB / 1.223 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.6156, allocations: 15.81 kB / 1.223 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.6159, allocations: 241.3 kB / 1.224 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.6159, allocations: 8 kB / 1.224 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.6159, allocations: 15.94 kB / 1.224 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.6163, allocations: 177.1 kB / 1.224 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.6163, allocations: 0 / 1.224 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.6163, allocations: 8 kB / 1.224 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.6163, allocations: 0 / 1.224 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.6165, allocations: 75.83 kB / 1.224 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.6176, allocations: 1.144 MB / 1.225 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.6178, allocations: 181.1 kB / 1.225 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.6178, allocations: 84.08 kB / 1.225 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.169e-05/0.6179, allocations: 79.22 kB / 1.225 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.815e-05/0.618, allocations: 105.8 kB / 1.225 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.618, allocations: 0 / 1.225 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001391/0.6181, allocations: 45.52 kB / 1.226 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.6183, allocations: 186.1 kB / 1.226 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.6186, allocations: 245 kB / 1.226 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.6186, allocations: 25.7 kB / 1.226 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.6188, allocations: 135.8 kB / 1.226 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.6188, allocations: 0 / 1.226 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.6188, allocations: 13.72 kB / 1.226 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.619, allocations: 326.8 kB / 1.226 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.758e-05/0.6191, allocations: 11.98 kB / 1.226 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.6192, allocations: 71.66 kB / 1.226 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.032e-05/0.6192, allocations: 48.23 kB / 1.227 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6193, allocations: 0 / 1.227 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001878/0.6194, allocations: 93.3 kB / 1.227 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.6195, allocations: 4 kB / 1.227 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6195, allocations: 0 / 1.227 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.6195, allocations: 4 kB / 1.227 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.936e-05/0.6196, allocations: 12.16 kB / 1.227 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.6196, allocations: 0 / 1.227 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.878e-05/0.6197, allocations: 15.84 kB / 1.227 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.6197, allocations: 4 kB / 1.227 GB, free: 8.531 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.0001825/0.6199, allocations: 209 kB / 1.227 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.62, allocations: 124.7 kB / 1.227 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.672e-05/0.6201, allocations: 117.8 kB / 1.227 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.804e-05/0.6202, allocations: 192.1 kB / 1.227 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-05/0.6204, allocations: 184.2 kB / 1.227 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-05/0.6205, allocations: 176.3 kB / 1.228 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.6208, allocations: 449.1 kB / 1.228 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.915e-05/0.6209, allocations: 109 kB / 1.228 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.6209, allocations: 121 kB / 1.228 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-05/0.621, allocations: 180.3 kB / 1.228 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-05/0.6211, allocations: 176.3 kB / 1.229 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.819e-05/0.6212, allocations: 180.2 kB / 1.229 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.56e-05/0.6213, allocations: 184.2 kB / 1.229 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.6215, allocations: 319.6 kB / 1.229 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.6217, allocations: 205.8 kB / 1.229 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.6218, allocations: 180.3 kB / 1.23 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.6219, allocations: 101 kB / 1.23 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.6221, allocations: 184.2 kB / 1.23 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/0.6221, allocations: 105 kB / 1.23 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000188/0.6223, allocations: 184.5 kB / 1.23 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6223, allocations: 0 / 1.23 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002892/0.6226, allocations: 20 kB / 1.23 GB, free: 4.688 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.0001854/0.6228, allocations: 170.5 kB / 1.23 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.6229, allocations: 23.92 kB / 1.23 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.6229, allocations: 320 / 1.23 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.623, allocations: 4 kB / 1.23 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007012/0.6237, allocations: 0.5857 MB / 1.231 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.6242, allocations: 349.5 kB / 1.231 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.6245, allocations: 0.7166 MB / 1.232 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.527e-05/0.6246, allocations: 29.56 kB / 1.232 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.6246, allocations: 19.38 kB / 1.232 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of SimCode: time 4.5e-07/0.6246, allocations: 0 / 1.232 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.005126/0.6297, allocations: 1.847 MB / 1.234 GB, free: 0.9023 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