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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001947/0.001947, allocations: 193.4 kB / 16.14 MB, free: 6.711 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.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.479/2.479, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 62.62 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2351, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1411/0.3762, allocations: 163.9 MB / 1.212 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004772/0.381, allocations: 5.705 MB / 1.218 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.3811, allocations: 7.938 kB / 1.218 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.3815, allocations: 71.58 kB / 1.218 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.3817, allocations: 55.66 kB / 1.218 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.3818, allocations: 39.91 kB / 1.218 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.3821, allocations: 251.1 kB / 1.218 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.3822, allocations: 87.17 kB / 1.218 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.3824, allocations: 87.64 kB / 1.218 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.3825, allocations: 79.56 kB / 1.218 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.3826, allocations: 8 kB / 1.218 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.394e-05/0.3826, allocations: 8 kB / 1.218 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.3827, allocations: 27.92 kB / 1.219 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.079e-05/0.3827, allocations: 67.61 kB / 1.219 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.3829, allocations: 155.5 kB / 1.219 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3829, allocations: 0 / 1.219 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.92e-07/0.3829, allocations: 3.938 kB / 1.219 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3829, allocations: 0 / 1.219 GB, free: 13.07 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.0004831/0.3834, allocations: 438.7 kB / 1.219 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3834, allocations: 15.97 kB / 1.219 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.3835, allocations: 50.55 kB / 1.219 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.3835, allocations: 19.75 kB / 1.219 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.3838, allocations: 238.6 kB / 1.219 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3838, allocations: 8 kB / 1.219 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.3838, allocations: 15.98 kB / 1.219 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.384, allocations: 173.1 kB / 1.22 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.384, allocations: 0 / 1.22 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3841, allocations: 3.984 kB / 1.22 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.3841, allocations: 4 kB / 1.22 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.3842, allocations: 79.83 kB / 1.22 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007113/0.3849, allocations: 1.152 MB / 1.221 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.854e-05/0.385, allocations: 165.1 kB / 1.221 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.385, allocations: 92.08 kB / 1.221 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.385, allocations: 75.28 kB / 1.221 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.3851, allocations: 105.8 kB / 1.221 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3851, allocations: 3.938 kB / 1.221 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.326e-05/0.3852, allocations: 41.52 kB / 1.221 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.3852, allocations: 182.1 kB / 1.221 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.3855, allocations: 253 kB / 1.222 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.3855, allocations: 25.7 kB / 1.222 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.3856, allocations: 135.8 kB / 1.222 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.3856, allocations: 0 / 1.222 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.3856, allocations: 21.72 kB / 1.222 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.3857, allocations: 322.8 kB / 1.222 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.3857, allocations: 11.98 kB / 1.222 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-05/0.3858, allocations: 75.7 kB / 1.222 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.19e-05/0.3858, allocations: 52.22 kB / 1.222 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.3858, allocations: 0 / 1.222 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001345/0.386, allocations: 89.31 kB / 1.222 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.386, allocations: 7.984 kB / 1.222 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.386, allocations: 0 / 1.222 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.386, allocations: 4 kB / 1.222 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.027e-05/0.3861, allocations: 11.94 kB / 1.222 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3861, allocations: 0 / 1.222 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.229e-05/0.3862, allocations: 19.94 kB / 1.222 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3862, allocations: 8 kB / 1.222 GB, free: 8.883 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.0001071/0.3863, allocations: 205.1 kB / 1.223 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.3864, allocations: 124.7 kB / 1.223 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.3864, allocations: 117.8 kB / 1.223 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-05/0.3865, allocations: 180.3 kB / 1.223 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.835e-05/0.3865, allocations: 184.2 kB / 1.223 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.8e-05/0.3866, allocations: 180.2 kB / 1.223 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.3868, allocations: 457 kB / 1.224 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/0.3869, allocations: 101 kB / 1.224 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.3869, allocations: 113 kB / 1.224 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.836e-05/0.3869, allocations: 184.2 kB / 1.224 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-05/0.387, allocations: 176.3 kB / 1.224 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.324e-05/0.387, allocations: 180.2 kB / 1.225 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.998e-05/0.3871, allocations: 180.5 kB / 1.225 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.3872, allocations: 327.5 kB / 1.225 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.385e-05/0.3873, allocations: 197.9 kB / 1.225 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/0.3874, allocations: 192.3 kB / 1.225 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3875, allocations: 105 kB / 1.226 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.3876, allocations: 180.2 kB / 1.226 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.3876, allocations: 105 kB / 1.226 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001516/0.3878, allocations: 184.5 kB / 1.226 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3878, allocations: 4 kB / 1.226 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000235/0.388, allocations: 20 kB / 1.226 GB, free: 5.043 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.0003082/0.3883, allocations: 0.8241 MB / 1.227 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.922e-05/0.3884, allocations: 20.06 kB / 1.227 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3884, allocations: 0 / 1.227 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/0.3884, allocations: 3.938 kB / 1.227 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.389, allocations: 0.5801 MB / 1.227 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.3907, allocations: 2.047 MB / 1.229 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.3909, allocations: 0.7166 MB / 1.23 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.871e-05/0.391, allocations: 25.53 kB / 1.23 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.3911, allocations: 39.42 kB / 1.23 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.3911, allocations: 0 / 1.23 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8015/1.193, allocations: 3.627 MB / 1.234 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/1.193, allocations: 195.3 kB / 1.234 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.806, allocations: 0 / 1.234 GB, free: 12.85 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > 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