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.001043/0.001043, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001466/0.001466, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.469/1.469, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.87/2.87, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004734, allocations: 9 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3942, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1981/0.5923, allocations: 161.8 MB / 1.217 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006056/0.5984, allocations: 5.616 MB / 1.222 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.5987, allocations: 7.938 kB / 1.222 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.5991, allocations: 75.45 kB / 1.222 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.5994, allocations: 55.67 kB / 1.222 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.5995, allocations: 35.95 kB / 1.222 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.5998, allocations: 255 kB / 1.223 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.6001, allocations: 91.16 kB / 1.223 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.6003, allocations: 83.64 kB / 1.223 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.6004, allocations: 67.58 kB / 1.223 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.6004, allocations: 4 kB / 1.223 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/0.6005, allocations: 4 kB / 1.223 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.6005, allocations: 11.94 kB / 1.223 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.833e-05/0.6006, allocations: 89.31 kB / 1.223 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.6008, allocations: 143.4 kB / 1.223 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6008, allocations: 0 / 1.223 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6008, allocations: 0 / 1.223 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.6008, allocations: 0 / 1.223 GB, free: 12.57 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.0005742/0.6014, allocations: 414.8 kB / 1.223 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.6014, allocations: 12.03 kB / 1.223 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.6015, allocations: 15.81 kB / 1.223 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.6018, allocations: 242.6 kB / 1.224 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.6018, allocations: 8 kB / 1.224 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.6019, allocations: 12 kB / 1.224 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.6021, allocations: 173.1 kB / 1.224 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.6022, allocations: 3.938 kB / 1.224 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.6022, allocations: 4 kB / 1.224 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.6022, allocations: 4 kB / 1.224 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.6023, allocations: 71.83 kB / 1.224 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009768/0.6033, allocations: 1.152 MB / 1.225 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.6034, allocations: 173.1 kB / 1.225 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.6035, allocations: 88.14 kB / 1.225 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.6035, allocations: 83.22 kB / 1.225 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/0.6036, allocations: 105.8 kB / 1.225 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.6036, allocations: 0 / 1.225 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.446e-05/0.6037, allocations: 41.52 kB / 1.226 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/0.6038, allocations: 182.1 kB / 1.226 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.6041, allocations: 253 kB / 1.226 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.6041, allocations: 25.7 kB / 1.226 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.76e-05/0.6042, allocations: 135.8 kB / 1.226 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-06/0.6042, allocations: 0 / 1.226 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.6042, allocations: 17.72 kB / 1.226 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6044, allocations: 322.8 kB / 1.226 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.307e-05/0.6044, allocations: 11.98 kB / 1.226 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.6045, allocations: 71.66 kB / 1.226 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.917e-05/0.6046, allocations: 52.23 kB / 1.227 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6046, allocations: 0 / 1.227 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001755/0.6048, allocations: 89.3 kB / 1.227 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.6048, allocations: 8 kB / 1.227 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6048, allocations: 0 / 1.227 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.6048, allocations: 4 kB / 1.227 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.203e-05/0.6049, allocations: 4 kB / 1.227 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.6049, allocations: 4 kB / 1.227 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.605, allocations: 16 kB / 1.227 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-06/0.605, allocations: 4 kB / 1.227 GB, free: 8.48 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.0001387/0.6051, allocations: 213 kB / 1.227 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.6052, allocations: 124.7 kB / 1.227 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.419e-05/0.6053, allocations: 117.8 kB / 1.227 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.469e-05/0.6054, allocations: 180.2 kB / 1.227 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000132/0.6055, allocations: 188.2 kB / 1.227 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.564e-05/0.6056, allocations: 180.2 kB / 1.228 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.6059, allocations: 449.1 kB / 1.228 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.984e-05/0.606, allocations: 108.9 kB / 1.228 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.606, allocations: 109 kB / 1.228 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-05/0.6061, allocations: 188.2 kB / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.883e-05/0.6062, allocations: 184.2 kB / 1.229 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.708e-05/0.6062, allocations: 176.3 kB / 1.229 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.913e-05/0.6063, allocations: 180.2 kB / 1.229 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.6064, allocations: 319.6 kB / 1.229 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.881e-05/0.6065, allocations: 205.8 kB / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.641e-05/0.6066, allocations: 184.3 kB / 1.23 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.6067, allocations: 101 kB / 1.23 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.6068, allocations: 180.2 kB / 1.23 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.6068, allocations: 105 kB / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001527/0.607, allocations: 184.5 kB / 1.23 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.607, allocations: 4 kB / 1.23 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002452/0.6072, allocations: 20 kB / 1.23 GB, free: 4.637 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.0001296/0.6074, allocations: 170.5 kB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.666e-05/0.6075, allocations: 23.92 kB / 1.23 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6075, allocations: 0 / 1.23 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-06/0.6075, allocations: 3.938 kB / 1.23 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.6081, allocations: 0.5757 MB / 1.231 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.6086, allocations: 361.5 kB / 1.231 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.6089, allocations: 0.7166 MB / 1.232 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.367e-05/0.609, allocations: 25.53 kB / 1.232 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.609, allocations: 15.44 kB / 1.232 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of SimCode: time 2.755e-06/0.609, allocations: 0 / 1.232 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of Templates: time 0.004495/0.6135, allocations: 1.846 MB / 1.234 GB, free: 0.8594 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